A serious revolt then broke out in the Sudan, led by a Muslim religious leader and self-proclaimed Mahdi, Muhammad Ahmad. In early 1884 Gordon was sent to Khartoum with instructions to secure the evacuation of loyal soldiers and civilians and to depart with them. In defiance of those instructions, after evacuating about 2,500 civilians he retained a smaller group of soldiers and non-military men. In the months before the fall of Khartoum, Gordon and the Mahdi corresponded; Gordon offered him the Sultanate of Kordofan and the Mahdi requested Gordon to convert to his religion and join him, to which Gordon replied abruptly: "No!"