al-Hasan ibn Ali, last of the Banu Badis

الحسن بن علي آخر ملوك آل باديس

Last Zirid sultan of Mahdiyya, enthroned a boy of twelve under his freedmen Sandal and Muwaffaq; after the Norman capture he fled to the Arabs then to the Almohads, and Abd al-Mu'min restored him in Mahdiyya 555 until he died en route to Marrakesh 1.

Depth

At a glance

Era
Abbasid Fragmentation
Region
Maghreb
Review
Draft Completeness 2/5 · Help complete it

Overview

Al-Hasan ibn Ali (may God be pleased with him), the last sultan of the Banu Badis at al-Mahdiyya. 2

His life

He came to power as a boy of twelve, and his client Sandal and then his client Muwaffaq took charge of his affairs. When the Christians seized al-Mahdiyya, he fled to the Arabs of Riyah, but found no one to help him there. He then crossed to Bona and Algiers, until the Almohads took Algiers in 547 AH; he went out to Abd al-Mu'min, who received him with honour and acceptance, and he accompanied him on his campaigns. 2

When Abd al-Mu'min took al-Mahdiyya in 555 AH, he settled him there and gave him Rahish as a fief. He stayed eight years, then died on his way to Marrakesh in 566 AH. 2

The data say he was the son of Ali ibn Yahya al-Ziri, and the entry linked with him does not yet exist in the museum.

Connections

Explore the connections

Child of
Ali ibn Yahya al-Ziri
Participated in
Roger of Sicily Seizes Mahdiyya

People and things also explored

جرجي بن ميخائيل الأنطاكي· رجار صاحب صقلية· Roger of Sicily Seizes Mahdiyya

Sources

  1. Kitab al-Ibar of Ibn Khaldun , p. 1636
  2. Kitab al-Ibar of Ibn Khaldun , p.1636
Cite this page

islam.museum contributors. “al-Hasan ibn Ali, last of the Banu Badis”. islam.museum, https://islam.museum/en/person/al-hasan-ibn-ali-zirid/. CC BY-SA 4.0. Last updated 2026-10-23.

Improve this page on GitHub · Report an error · JSON

Wing

People

Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
Related

جرجي بن ميخائيل الأنطاكي

An Antioch Christian who migrated west, mastered the tongue and reckoning and was made Tamim b. al-Mu'izz's confidant; after Tamim's death he slipped away to Roger of Sicily, won favour and commanded the fleet that besieged Mahdiyya in three hundred ships.