The Mahdist Wars were a series of conflicts in the late 19th century, primarily between Sudanese forces led by Muhammad Ahmad, who proclaimed himself the Mahdi, and British-Egyptian forces. These wars represented a significant indigenous response to imperialism, as they were fueled by resistance against foreign control and the desire for a return to a purer Islamic society.