Abu Zakariya al-Hafsi's break with the Almohads

خلع أبي زكريا الحفصي طاعة الموحدين

1230 CE · 627 AH

Tunis

In 627 AH the amir Abu Zakariya, grandson of the shaykh Abu Hafs, seized Ifriqiya and threw off the caliph al-Ma'mun's allegiance after the latter had erased the Mahdi's name from coinage and khutba — founding the Hafsid state at Tunis under the Hintati grandsons of the Almohads' greatest shaykh.

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

Depth

At a glance

Era
The Mongol and Post-Mongol Era
Region
Maghreb

In time

122012301240
The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era

In space

Tunis

Map: Natural Earth, public domain · places and route from the graph

Overview

Ibn Khaldun, in "The Lessons" (al-Ibar), reports that in 627 AH the amir Abu Zakariya al-Hafsi took sole power in Ifriqiya and broke the obedience to the caliph al-Ma'mun. Al-Ma'mun had erased the name of al-Mahdi from the coinage and the sermon. 1

Thus the Hafsid state was founded in Tunis by the Hafsids of the Hintata, descendants of the chief of the Almohad shaykhs. 1

Connections

Explore the connections

Had participant
Abu Zakariya al-Hafsi
Occurred at
Tunis
During the reign of
al-Ma'mun ibn al-Mansur al-Muwahhidi

People and things also explored

Ibn al-Abbar's embassy to the sultan of Ifriqiya for beleaguered Valencia, 635/1238· Ibn al-Abbar leaves fallen Valencia and settles at Tunis as head of the chancellery, 636/1238· Abu Zakariya al-Hafsi· Tunis· al-Zaytuna Mosque· al-Ma'mun's repudiation of the Almohad creed· Battle of Jerez· Battle of Portopí

Sources

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

islam.museum contributors. “Abu Zakariya al-Hafsi's break with the Almohads”. islam.museum, https://islam.museum/en/event/hafsid-independence-627/. 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

Ibn al-Abbar's embassy to the sultan of Ifriqiya for beleaguered Valencia, 635/1238

When James I of Aragon besieged Valencia in Ramadan 635 (April–May 1238), Ibn al-Abbar was sent with a deputation to the Hafsid sovereign Abu Zakariyya' of Tunis to beg assistance; he recited before him his qasida rhyming in sin on 4 Muharram (17 August 1238 as printed), painting a moving picture of his besieged native city. The sultan hastened to aid its people, loading fleets with money, provisions and clothing.