State · Middle East and North Africa

Hafsid dynasty

1229 – 1574 · 345 years

Came after Almohad Caliphate

It was founded in 1229, after the Almohad Caliphate.↓ Its borders are first mapped in 1236, around 224,100 km².↓

Continue reading

Its ground peaked in 1344 at 224,300 km².↓ Its line counts 23 rulers, covering 1224 – 1574, the median reign 4 years; 3 of 22 handovers were irregular.↓ The best known of them are Muhammad I al-Mustansir, Abu Zakariya Yahya and Yahya II al-Wathiq.↓ Most of the 30 rows the atlas files under it are people.↓ Its record closes in 1574, after 345 years.↑

345 years

Longer than the Mughal Empire, shorter than Kyivan Rus'

224,000 km²

At its height in 1344 · about the size of Laos

23 rulers

the Hafsid sultan

6 wars and battles

More per century than 87% of states · 30 entries in all

Map: Hafsid dynasty in 1344, its borders in gold among its neighbours
Eighth Crusade, 1270Barbary Crusade, 1390Conquest of Tunis (1534), 1534Siege of Tripoli (1551), 1551130013501400145015001550
Beside it on the map in 1344: Marinid dynasty, Mamluk Sultanate, Byzantine Empire, Crown of Aragon, Kingdom of Sicily and Kingdom of Naples.How far it reached, year by year: its ground inside the borders Cliopatria draws (CC BY 4.0), measured on an equal-area grid; the map shows it at its largest, with the cities of the year.

The story

Its key moments

Key events

Hafsid dynasty in 1556, last mappedHafsid dynasty in 1344, at its largest
The rise and the fall in one frame: drag across it from 1344, at its largest at 224,300 km², to 1556, last mapped at 88,100 km². Open the live map in 1344 or 1556.

Before and after

Before it

Where it sits in time

3000 BCE2000 BCE1000 BCE110002000Almohad Caliphate: 1121 – 1269Hafsid dynasty: 1229 – 1574

Five thousand years, 3000 BCE to 2026; the state in gold, what it replaced or followed and what replaced or followed it in grey.

Its people

Lives across the Hafsid dynasty

1200130014001500
Statesmen and generalsWriters, artists and thinkersLived on after it endedAll its people on the timeline →

How it was governed

23 sultans

23 sultans on record, 1224 to 1574; a reign lasted 4 years at the median. Each bar is a reign, as long as it lasted.

Abd-Allah · 1224 – 1228 · left office aliveAbu Zakariya Yahya · 1229 – 1249 · died in office, manner not recordedMuhammad I al-Mustansir · 1249 – 1277 · died in office, manner not recordedYahya II al-Wathiq · 1276 – 1279 · left office aliveAbu Ishaq Ibrahim I · 1279 – 1283 · deposed, the article saysAbu Hafs Umar bin Yahya · 1284 – 1295 · died in office, manner not recordedAbu Asida Muhammad II · 1295 – 1309 · the term ends after the recorded deathAbu Yahya Abu Bakr ash-Shahid · 1309 – 1309 · died in office, manner not recordedAbu-l-Baqa Khalid An-Nasr · 1309 – 1311 · died in office, manner not recordedAbu Yahya Abu Bakr II · 1318 – … · no end recordedAbu Hafs Umar ben Abi Bakr · 1346 – … · no end recordedAl-Fadl Àhmad · 1349 – 1350 · died in office, manner not recordedAbu Ishaq Ibrahim II · 1350 – 1369 · died in office, manner not recordedAbu-l-Baqà Khàlid · 1369 – 1371 · died in office, manner not recordedAbu al-Abbas Ahmad II · 1371 – 1394 · died in office, manner not recordedAbu 'Amr 'Uthman · 1435 – 1488 · died in office, manner not recordedAbu Zakariya Yahya IV · 1488 – 1489 · died in office, manner not recordedAbd-al-Mumin ibn Ibrahim · 1489 – 1490 · the term ends after the recorded deathAbu Yahya Zakariya · 1490 – 1494 · died in office of natural causesAbu Abdallah Muhammad IV al-Mutawakkil · 1493 – 1526 · died in office of natural causesAbu Abdallah Muhammad V al-Hasan · 1526 – 1543 · left office aliveAbu al-Abbas Ahmad III · 1543 – 1573 · left office aliveAbu Abdallah Muhammad VI ibn al-Hasan · 1573 – 1574 · left office alive130014001500
a second row: a reign that began before the last had ended — rival claimants, or a shared throne
How their terms ended, where it is known (19 of 23):Deposed or removed 1Died in office 13Left office alive 5Not on record 4
Every term, with how it ended and its source

Rulers

How 23 reigns ended - choose one to show only those

How they died, where the record says: died of natural causes 3.

RulerReignLengthHow it ended · sourceTo the ruler before
13th century · 7 reigns · 1 killed or removed
Abd-Allah · aged 241224 – 12284 yearsleft office aliveread off the dates alone
Abu Zakariya Yahya · aged 261229 – 124920 yearsdied in officeread off the dates alonesibling
Muhammad I al-Mustansir · aged 211249 – 127728 yearsdied in officeread off the dates alonechild
Yahya II al-Wathiq · aged 271276 – 12793 yearsleft office aliveread off the dates alonechild
Abu Ishaq Ibrahim I · aged 451279 – 12834 yearsdeposedread from the ruler's own article
Abu Hafs Umar bin Yahya · aged 391284 – 129511 yearsdied in officeread off the dates alonesibling
Abu Asida Muhammad II · aged 161295 – 130914 yearsdates disagreeread off the dates alone
14th century · 8 reigns
Abu Yahya Abu Bakr ash-Shahid · aged 291309 – 1309under a yeardied in officeread off the dates alone
Abu-l-Baqa Khalid An-Nasr · aged 261309 – 13112 yearsdied in officeread off the dates alone
Abu Yahya Abu Bakr II · aged 251318 – —no end recordedending not on recordsibling
Abu Hafs Umar ben Abi Bakr · aged 361346 – —no end recordedending not on recordchild
Al-Fadl Àhmad · aged 391349 – 13501 yeardied in officeread off the dates alonesibling
Abu Ishaq Ibrahim II · aged 141350 – 136919 yearsdied in officeread off the dates alonechild
Abu-l-Baqà Khàlid · aged 191369 – 13712 yearsdied in officeread off the dates alonechild
Abu al-Abbas Ahmad II · aged 421371 – 139423 yearsdied in officeread off the dates alone
15th century · 5 reigns
Abu 'Amr 'Uthman · aged 171435 – 148853 yearsdied in officeread off the dates alone
Abu Zakariya Yahya IV1488 – 14891 yeardied in officeread off the dates alonegrandchild
Abd-al-Mumin ibn Ibrahim1489 – 14901 yeardates disagreeread off the dates alone
Abu Yahya Zakariya1490 – 14944 yearsdied in officeWikidata's manner of deathdied of natural causes
Abu Abdallah Muhammad IV al-Mutawakkil1493 – 152633 yearsdied in officeWikidata's manner of deathdied of natural causesanother recorded relative
16th century · 3 reigns
Abu Abdallah Muhammad V al-Hasan · aged 211526 – 154317 yearsleft office aliveread off the dates alonechild
Abu al-Abbas Ahmad III · aged 381543 – 157330 yearsleft office aliveread off the dates alonedied of natural causeschild
Abu Abdallah Muhammad VI ibn al-Hasan · aged 231573 – 15741 yearleft office aliveread off the dates alonesibling

23 rulers, 23 with terms dated as terms, covering 1224 – 1574. Median reign 4 years. 3 of 22 handovers irregular - a killing, a deposition, a rival claimant, a rising or a coup beside it. A blank in the last column means no kin on record, which is coverage, never “unrelated”.

Its world

Rivals, and who else stood

Who it fought most

Wars and battles both took part in, on whichever side: the record names who took part, not who fought whom.

Meanwhile, elsewhere

The best-known states of other regions that stood while it did; the band is the Hafsid dynasty’s own years.

12001300140015001600

How it compares

Among 3,073 states

Stood longer than 77% of 3,073 states
Hafsid dynasty · 345 yearsMughal EmpireKyivan Rus'How long it stood, among the states with a recorded end or still standing.
Held more ground at its peak than 60% of 1,464 states
Hafsid dynasty · 224,300 km²UgandaLaosThe most ground it held, among the states with a border in Cliopatria.
Had more wars on record per century than 87% of 3,073 states
Hafsid dynasty · 0.3Wars recorded per century, among the states, counting the wars the atlas hosts under each.

Why it fell

Why did the Hafsid dynasty fall?

Historians still argue. Here is what the atlas records about its last century:

4

wars and battles in its last century, more than in any before it

What led to it, and what came of it

Almohad Caliphate · Linked · 1121 – 1269Almohad CaliphateHafsid dynasty · 1229 – 1574Hafsid dynasty1200130014001500
linked

Open the investigation: every row with its evidence, the conditions at the time, the theories condition by condition, and the succession analysed.

Its centuries in the record

1200 – 1299: 11 recorded — 1 wars and battles, 0 risings, regime changes and massacres, 10 other12001300 – 1399: 7 recorded — 1 wars and battles, 0 risings, regime changes and massacres, 6 other13001400 – 1499: 4 recorded — 0 wars and battles, 0 risings, regime changes and massacres, 4 other14001500 – 1599: 8 recorded — 4 wars and battles, 0 risings, regime changes and massacres, 4 other1500

Wars and battles in red, risings, coups and massacres beside them, everything else in grey, by the century each began in. A tall bar is partly a fact about Wikipedia: better-documented centuries hold more.

Each century’s own page:1200 – 12991300 – 13991400 – 14991500 – 1599

Keep exploring

Share this page
Copy link
Embed the map
Cite this page

How this page is made

Drawn from Wikidata (Q752662, CC0), borders from Cliopatria (CC BY 4.0), coast and rivers from Natural Earth, cities from Reba, Reitsma & Seto 2016 (CC BY 4.0). Data built 2026-11-26 · Pastlas v2.47.1, by Oleh Voronko; the published atlas and its data are for non-commercial use.

How to read it

Areas are measured on an equal-area grid from borders simplified to about five kilometres. “c.” marks an approximate date, and a date known to the century is never printed to the year. Counts are what the atlas holds, and they follow Wikipedia’s coverage: a busy century is partly a fact about the record.

Something wrong?

Tell us and name the entry. We fix the data, not just this page.

Report a problem