The Mahdiyya revolt (594–595 AH)

عصيان المهدية على الموحدين

1198 CE · 594 AH

The Almohad field-commander Muhammad ibn Abd al-Karim — terror of the Arabs of Ifriqiya — fell out with the vizier Abu Sa'id ibn Umar Inti over the Banu Awf captives, seized Mahdiyya, ransomed the governor for twelve thousand dinars, and allied with Ibn Ghaniya; when al-Mansur died, the new caliph Muhammad al-Nasir's sea and land armies came, Ibn Ghaniya fled to the desert, and Ibn Abd al-Karim answered the fleet: 'I obey the Commander of the Faithful Muhammad — I will only hand it to whom he sends' 1.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Era
The Crusades, Ayyubids and Mamluks
Region
Maghreb

In time

119012001210
The Crusades, Ayyubids and Mamluks

Civil wars and revolts

Sides

The rebels

The authorities of يعقوب المنصور الموحدي

Yaqub al-Mansur al-Muwahhidi

Overview

Ibn al-Athir relates that the commander of the army in al-Mahdiyya, Muhammad ibn Abd al-Karim, took control of the city in 594 AH, then returned to obedience after the death of the Almohad al-Mansur. 2

The dispute with the governor

When Ya'qub al-Mansur returned from Ifriqiya, he appointed Abu Sa'id Uthman over Tunis, his brother Abu Ali Yunus over al-Mahdiyya, and made Muhammad the commander of the army there. Ibn al-Athir says that the Banu Awf fled from the Arabs with their property and families, and sought protection with Abu Sa'id, who ordered that the livestock be returned; Muhammad spoke harshly to him and wanted to strike him. 2

Seizure and return

Muhammad went back to al-Mahdiyya in fear, seized the governor Abu Ali Yunus and took control of the city. Then he released him for twelve thousand dinars, which he distributed among the troops, and made an alliance with Ali ibn Ishaq al-Mulaththam, Ibn Ghaniya. 2

When al-Nasir succeeded his father, he sent one army by sea and another by land, and al-Mulaththam fled into the desert. Muhammad said that he was obedient to the commander of the faithful and would only hand the city over to whoever he sent; he sent those who took it from him, and returned to obedience. 2

Connections

Explore the connections

Had participant
Muhammad ibn Abd al-Karim
Related to
Ali ibn Ghaniya
During the reign of
Yaqub al-Mansur al-Muwahhidi

People and things also explored

Ali ibn Ghaniya takes Ifriqiya· Ibn Ghaniya's seizure of Béjaïa (580 AH)· Ali ibn Ghaniya· Muhammad ibn Abd al-Karim· Almohad Wars in Iberia· The battle of al-Arak (Alarcos)· Battle of Monteagudo (1190)· Ibn Jubayr in Baghdad

Sources

  1. al-Kamil fi'l-Tarikh of Ibn al-Athir , p. 259-260
  2. al-Kamil fi'l-Tarikh of Ibn al-Athir , p.259-260
Cite this page

islam.museum contributors. “The Mahdiyya revolt (594–595 AH)”. islam.museum, https://islam.museum/en/event/mahdiyya-revolt-594/. CC BY-SA 4.0. Last updated 2026-11-22.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

Ali ibn Ghaniya takes Ifriqiya

In the year 581, Ali ibn Ishaq al-Mulaththam ibn Ghaniya marched to Ifriqiya. Sulaym, Riyah and other Arab groups gathered to him there, and Turks who had entered from Egypt with Sharaf al-Din Qaraqush joined them. They gave him the title Amir al-Muslimin and together took all of Ifriqiya, east and west, except Tunis and Mahdiya, where the Muwahhidun remained in fear and hardship. They ravaged the lands, fortresses and villages, violated sanctities and cut down trees. They made for the island of Bashrawhi near Tunis, whose people were granted safety, but then the army plundered its wealth until people were stripped of their clothes. They then made for Tunis, where the poor went begging until the winter cold and disease destroyed them; the dead were counted at 12,000 from a single place. Al-Mulaththam ended the khutba for the sons of Abd al-Mu'min, proclaimed the Abbasid caliph al-Nasir li-Din Allah, and sent to him asking for robes of investiture and black banners.