In 1884 General Charles G. Gordon was sent to Khartoum to evacuate the Egyptian garrison. He attempted to defeat the Mahdi, but in 1885 the Mahdi captured Khartoum and massacred General Gordon and the garrison. The dervishes (followers of the Mahdi) took control of all Sudan except for the Red Sea fortresses.