The causes for the mahdi's revolt in Sudan have been fully studied by modern historians and point to economic, social, religious, and administrative short-comings of the sixty-year Turco-Egyptian domination there. As for the timing, one must look attwo factors that together had a decisive influence. First, Egypt's financial difficulties subjected it to increasing European control and, consequently, to the deposition of the Khedive Ismaʿcil in June 1879 and the appointment to the throne of his son Tawfiq, a puppet of the great European powers, thus damaging the prestige of Muhammad ʿAli's dynasty. Further, Cairo was preoccupied throughout 1880–82 by a confrontation between the government and the nationalist movement of the native Egyptian officers in the army, led by Ahmad ʿUrabi, resulting among other things in the lack of a clear policy as regards Sudan. Second, there was the resignation in January 1880 of Colonel Charles Gordon, the governor-general of Sudan, who enjoyed wide political and economic autonomy, and the appointment of Muhammad Raʿuf Pasha, who was subordinated directly to the government in Cairo, as his successor in Khartoum. While Gordon, who had an energetic, enterprising, and authoritative personality, left Sudan in the midst of reforms in almost all fields, Muhammad Raʾuf Pasha had a different nature altogether. He was a mild and gentle ruler whose authority was narrowed by Cairo, where the political state of affairs was turning into chaos.