The Mahdist War was a war between the Mahdist Sudanese of the religious leader Muhammad Ahmad bin Abd Allah, who had proclaimed himself the "Mahdi" of Islam, and the forces of the Khedivate of Egypt, initially, and later the forces of Britain.