Modern Era1881-1899

Mahdist War (1881-1899): Sudan's Revolt Against Egypt and Britain

The Mahdist War of 1881-1899 saw Muhammad Ahmad, the Mahdi, overthrow Egyptian rule in Sudan, found a state at Omdurman and fall to Kitchener's reconquest.

Photograph of 1936 from the Matson Photograph Collection showing the Mahdi's tomb at Omdurman, Sudan, before its rebuilding in the 1940s
Photograph of 1936 from the Matson Photograph Collection showing the Mahdi's tomb at Omdurman, Sudan, before its rebuilding in the 1940s. Image: Matson Photo Service (Library of Congress, Matson Collection) (Public domain), Wikimedia Commons
Contents

The Mahdist War was a conflict in Sudan lasting from 1881 to 1899. It began when the religious teacher Muhammad Ahmad proclaimed himself the Mahdi and led a revolt that ended Turco-Egyptian rule, killed General Charles Gordon at Khartoum and created an Islamic state centred on Omdurman. Thirteen years later an Anglo-Egyptian army under Herbert Kitchener reconquered the country, opening more than half a century of British-dominated rule.

Background

Egypt under Muhammad Ali conquered much of Sudan from 1821. The period of Turco-Egyptian rule, remembered in Sudan as the Turkiyya, brought heavy taxation, army recruitment and a profitable trade in ivory and enslaved people. From the 1860s Khedive Ismail appointed European officials, among them Charles Gordon as governor-general from 1877 to 1879, who tried to suppress the slave trade. Their efforts angered powerful traders without reducing popular resentment of taxes and officials.

Muhammad Ahmad ibn Abd Allah was born in 1844 in the Dongola region, the son of a boatbuilder. He became a respected Sufi teacher of the Sammaniyya order and settled on Aba Island in the White Nile. Islamic tradition held that a Mahdi, “the rightly guided one”, would appear to restore justice before the end of time, and in 1881 he publicly declared himself to be that figure.

The rise of the Mahdi

In August 1881 the government sent troops to arrest him on Aba Island. His followers routed them, and the Mahdi withdrew to Jebel Qadir in the Nuba Mountains, an act his supporters compared to the Prophet Muhammad’s migration from Mecca. Further government expeditions were defeated, and support grew among the Baggara cattle nomads, riverain peoples and religious leaders.

The Mahdi’s followers, called the Ansar (“helpers”), besieged El Obeid, the capital of Kordofan, which surrendered in January 1883. In November 1883 an Egyptian army of around 8,000-10,000 men under the British officer William Hicks marched into Kordofan and was annihilated at Shaykan, near El Obeid. In the east, the Mahdist commander Osman Digna raised the Beja peoples near the Red Sea and defeated Egyptian forces, though British troops won hard-fought battles against him at El Teb and Tamai in early 1884.

Khartoum and the Mahdist state

Britain had occupied Egypt after the Anglo-Egyptian War of 1882 and was unwilling to reconquer Sudan. Gladstone’s government sent Gordon to Khartoum in early 1884 to organise an evacuation. Instead he was besieged, and the city fell on 26 January 1885, two days before a British relief force arrived; Gordon was killed. The story is told in detail in the article on the Siege of Khartoum.

The Mahdi made Omdurman, across the Nile from Khartoum, his capital, but died there on 22 June 1885, probably of typhus. His successor, the Khalifa Abdallahi ibn Muhammad, built a centralised state with a treasury, courts, an arsenal and a large army. He faced revolts and rivalries, which he suppressed harshly, and relied increasingly on his own Baggara kinsmen.

The Khalifa pursued wars on several fronts. Mahdist forces fought Ethiopia, and in March 1889 Emperor Yohannes IV was killed at the Battle of Gallabat (Metemma), though his army had the better of the fighting. An invasion of Egypt was defeated at Toski in August 1889. A severe famine in 1888-1890, remembered as the famine of “Year Six” (1306 in the Islamic calendar), caused enormous loss of life.

Life in the Mahdist state

The Mahdist state, known in Sudan as the Mahdiyya, sought to recreate the early Muslim community. The Mahdi abolished the existing schools of Islamic law in favour of his own rulings, banned practices he considered un-Islamic such as tobacco, alcohol and lavish weddings, and replaced the tax system with religious levies.

Omdurman grew from a village into a large city of soldiers, traders and pilgrims. European captives, including the Austrian officer Rudolf Slatin and the Catholic priest Josef Ohrwalder, later escaped and published hostile accounts that shaped British opinion and helped build support for reconquest. Modern historians, drawing on Mahdist documents, describe a more complex state that maintained administration, trade and diplomacy under heavy military and economic pressure.

Key people

  • Muhammad Ahmad (1844-1885), the Mahdi, founder of the movement and state.
  • Abdallahi ibn Muhammad (c. 1846-1899), the Khalifa, who ruled from 1885 to 1898.
  • Osman Digna (c. 1840-1926), Mahdist commander in eastern Sudan, who fought the British for more than a decade.
  • Charles Gordon (1833-1885), British governor-general, killed at Khartoum.
  • Herbert Kitchener (1850-1916), commander of the reconquest and later British war minister.

The reconquest

By the mid-1890s Britain had reasons to act. Italy was under pressure in Eritrea after its defeat at Adwa in 1896, and France was sending an expedition towards the upper Nile. Kitchener, the British commander (sirdar) of the Egyptian army, began a methodical advance in 1896, taking Dongola that September.

The key to the campaign was the Sudan Military Railway, built across the Nubian Desert from Wadi Halfa to Abu Hamed and beyond, which carried troops, supplies and gunboats. Kitchener defeated a Mahdist army at the Atbara River on 8 April 1898.

On 2 September 1898 the Khalifa’s army, estimated at 35,000-50,000 men, attacked Kitchener’s force of about 25,000 British, Egyptian and Sudanese troops at Kerreri, outside Omdurman. Machine guns, artillery and rifles destroyed the attacking waves. At the Battle of Omdurman an estimated 10,000-11,000 Mahdists were killed and many more wounded, against fewer than 50 dead on the Anglo-Egyptian side. Soon afterwards Kitchener confronted a French expedition at Fashoda.

The Khalifa escaped to Kordofan. On 24 November 1899 he and his remaining commanders were killed at Umm Diwaykarat by a force under Reginald Wingate. Osman Digna was captured in 1900.

Consequences

The Anglo-Egyptian Condominium Agreement of 19 January 1899 established joint rule over Sudan. In practice Britain dominated, governing through a governor-general until independence in 1956.

After Omdurman Kitchener ordered the Mahdi’s tomb to be destroyed and his remains thrown into the Nile. The act was criticised in Parliament and the press. The tomb was rebuilt in the twentieth century and remains a landmark of Omdurman.

In Britain, the reconquest was celebrated as revenge for Gordon. Kitchener was made a peer as Baron Kitchener of Khartoum, and a young cavalry officer and war correspondent, Winston Churchill, who rode in the charge of the 21st Lancers at Omdurman, published a two-volume history of the campaign, The River War, in 1899. Churchill’s book praised the army’s achievement but also criticised the treatment of the Mahdi’s tomb and of wounded enemies.

The Mahdist movement survived as a religious and political force. The Mahdi’s son, Sayyid Abd al-Rahman al-Mahdi, led the Ansar and became patron of the Umma Party, founded in 1945, which played a central role in Sudanese politics after independence.

Timeline

  • 1881, June: Muhammad Ahmad publicly proclaims himself the Mahdi.
  • 1881, August: Government troops are defeated on Aba Island.
  • 1883, January: El Obeid surrenders to the Mahdists.
  • 1883, 3-5 November: The Hicks expedition is destroyed at Shaykan.
  • 1885, 26 January: Khartoum falls and Gordon is killed.
  • 1885, 22 June: The Mahdi dies; the Khalifa Abdallahi succeeds him.
  • 1889, March: Emperor Yohannes IV is killed at Gallabat.
  • 1898, 2 September: Kitchener defeats the Khalifa at Omdurman.
  • 1899, 19 January: Anglo-Egyptian Condominium Agreement signed.
  • 1899, 24 November: The Khalifa is killed at Umm Diwaykarat.

Why it matters

The Mahdist War produced one of the few African states to overthrow colonial-era rule by force in the nineteenth century, and its defeat brought Sudan under British control for more than fifty years. The movement’s religious and political legacy remains part of modern Sudanese identity.

Frequently asked questions

Who was the Mahdi of Sudan?

Muhammad Ahmad ibn Abd Allah (1844-1885) was a Sudanese Sufi religious teacher who in 1881 proclaimed himself the Mahdi, the redeemer expected in Islamic tradition. He led a revolt that overthrew Egyptian rule over most of Sudan before his death in June 1885.

Why did the Mahdist revolt begin?

Many Sudanese resented the heavy taxes and corruption of Turco-Egyptian rule, which had begun in 1821. Merchants were hurt by attempts to suppress the slave trade, and the Mahdi's call for religious renewal united these grievances behind a single leader.

Who was the Khalifa?

Abdallahi ibn Muhammad, from the Baggara Ta'aisha people of Darfur, was the Mahdi's chief deputy and succeeded him in 1885. He ruled the Mahdist state from Omdurman until his defeat in 1898 and was killed at Umm Diwaykarat in November 1899.

How did the Mahdist War end?

An Anglo-Egyptian army under Herbert Kitchener advanced up the Nile from 1896, built a railway across the desert and destroyed the Khalifa's main army at Omdurman on 2 September 1898. The Khalifa was killed in 1899, and Sudan became an Anglo-Egyptian condominium.

How many people died in the Mahdist War?

No reliable total exists. Battles such as Shaykan and Omdurman each killed around 10,000 or more, and famine and disease during the Mahdist period caused far greater loss of life; estimates of Sudan's population decline in these years vary widely and are disputed.

Sources and further reading

  • P. M. Holt, The Mahdist State in the Sudan, 1881-1898
  • P. M. Holt and M. W. Daly, A History of the Sudan
  • Encyclopaedia Britannica, "Mahdist movement"
  • Winston S. Churchill, The River War

Cite this article

“Mahdist War (1881-1899): Sudan's Revolt Against Egypt and Britain.” Chronicle, https://chronicle.bigworldlist.com/articles/mahdist-war/.