Abu Zakariya al-Hafsi

أبو زكريا الحفصي

August 1249 CE · 7 Jumada II 647 AH

Abu Zakariya Yahya ibn Abi Muhammad, grandson of the shaykh Abu Hafs al-Hintati, founder of the Hafsid state in Ifriqiya; a loyal Almohad amir until al-Ma'mun abjured the Mahdi's creed, whereupon he threw off his allegiance in 627 AH and seized Ifriqiya, founding the Hafsid house that ruled Tunis some three centuries.

Depth

At a glance

Roles
Ruler
Counted among
Sunni
Era
The Mongol and Post-Mongol Era
Region
Maghreb
Identifiers
Wikidata
Review
Draft Completeness 1/5 · Help complete it

Life in time

1150117512001225125012751300 c. c. c. c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era Contemporaries: Abagha Khan · Abu al-Abbas al-Qurti · Abu al-Hajjaj al-Biyasi · Abu Bakr ibn Qawam al-Balisi · Abu Shama al-Dimashqi

Overview

Abu Zakariya Yahya ibn Abi Muhammad, grandson of Shaykh Abu Hafs al-Hintati, and founder of the Hafsid state in Ifriqiya. He was an Almohad amir until al-Ma'mun abandoned the call of al-Mahdi, and in 627 AH he withdrew his obedience in Ifriqiya and ruled it alone. He thus renewed the rule of the house of Hafs, which held Tunis for about three centuries. 1

His death

Ibn Khaldun says he died outside Bona on the seventh day before the end of Jumada al-Akhira 647 AH, after twenty-two years in power. He was buried in the mosque of Bona, and then moved to Constantine in 666 AH while the Christians were besieging Tunis. The Gregorian conversion (around August 1249 CE) is derived and not from the source. 1

The museum's data have no second source for these dates, which need an additional source.

Connections

Explore the connections

Parent of
Sultan Abu Ishaq al-Hafsi· al-Mustansir billah al-Hafsi
Founder of
Hafsid dynasty
Ruler of
Hafsid dynasty
Participated in
Abu Zakariya al-Hafsi's break with the Almohads· The collapse of Muslim Sicily after Abu Zakariya's death

People and things also explored

Hafsid dynasty· al-Wathiq Yahya ibn al-Mustansir al-Hafsi· Sultan Abu Ishaq al-Hafsi· al-Mustansir billah al-Hafsi· Louis IX's siege of Tunis (the Eighth Crusade)· Mecca's bay'a to the Hafsid al-Mustansir· Amir Abu Zakariya, lord of Bejaia· al-Hasan b. Muhammad al-Hafsi

Sources

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

islam.museum contributors. “Abu Zakariya al-Hafsi”. islam.museum, https://islam.museum/en/person/abu-zakariya-al-hafsi/. CC BY-SA 4.0. Last updated 2026-10-19.

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

Hafsid dynasty

A ruling dynasty established in 1229 CE and ended in 1574 CE.