The Egyptian authorities made significant improvements to the Sudanese infrastructure (mainly in the north), especially with regard to irrigation and cotton production. In 1879, the Great Powers forced the removal of Ismail and established his son Tewfik Pasha in his place. Tewfik's corruption and mismanagement resulted in the 'Urabi revolt, which threatened the Khedive's survival. Tewfik appealed for help to the British, who subsequently occupied Egypt in 1882. Sudan was left in the hands of the Khedivial government, and the mismanagement and corruption of its officials.