The 19th century provided several Mahdi claimants, some of whose followers and teachings survive to the present day.
Bu Ziyan One Mahdi who did not aim to reinvent Islam but to uphold it against
kafir invaders, was Bu Ziyan. In 1849, Muhammad appeared to him in a series of dreams, commanding him "three times" to "assume the duties of the Mahdi" and drive the French colonists from Algeria. Bu Ziyan had served as representative of the Anti-French leader
Abd al-Qadir, but now led an uprising with the help of many members of the strongest Sufi brotherhood, Rahmaniyya. The French besieged their headquarters at the oasis of Zaʿatsha for 52 days, breaking through and annihilated the population. Bu Ziyan's head was mounted on a pike at the village entrance, but "word spread through the Sahara that the Mahdior at least one of his sons had escaped alive."
Alí Muḥammad (Báb) Alí Muḥammad (1819–1850) claimed to be the Mahdi in 1844, taking the name the Báb (the Gate) and founding a religious movement known as
Bábism. He taught that a greater Prophet would soon appear ("Him Whom God shall make manifest"). He was
executed by firing squad in 1850 in the town of
Tabriz. Bábism was violently opposed. The large majority of its followers accepted the claim of
Baha'u'llah to be the one whom the Bab had foretold. Thereafter, for the large majority, it continued in the form of the
Baháʼí Faith, whose followers consider the Báb as a central figure of their own.They also regard him as the return of
Elijah,
John the Baptist,
the Qa'im, the
'Úshídar Máh from the Jewish, Christian, Islamic and Zoroastrian religions respectively, according to the official history of the first Baha'i century.
Muḥammad Aḥmad Muhammad Ahmad bin Abd Allah (1844–1885) was a Sudanese Sufi sheikh of the Samaniyya order. Expelled for puritanical outbursts of anger, he founded his own order amidst Sudanese popular protest and millenarian unrest over Anglo-Egyptian rule. The
Mahdist State continued under his successor,
Abdallahi ibn Muhammad, until 1898, when it fell to the
British Army following the
Battle of Omdurman.
Mīrzā Ghulām Aḥmad Mirza Ghulam Ahmad (1835–1908) claimed to be both the Mahdi and the second coming of Jesus in the late 19th century in
British India. In 1880, Ahmad claimed to be the Mahdi in his book
Braheen-e-Ahmadiyya, in which he claimed to have received revelations. In 1889, he founded the
Ahmadiyya religious movement, which is not recognised as Islam by most mainstream Muslims. In 1974,
Pakistan declared that Ahmadis are legally not Muslims. Since Ghulam Ahmad's death, the Ahmadiyya community has been led by
his successors. ==Twentieth century==