1230 CE · 627 AHapproximatedebatedbefore the Hijra
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.
Abu Zakariya al-Hafsi's break with the Almohads — 1230 CE · 627 AH
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.
Ibn al-Abbar leaves fallen Valencia and settles at Tunis as head of the chancellery, 636/1238 — c. October 1238 CE · c. Safar 636 AH
Ibn al-Abbar returned to Valencia but left it a few days after it was captured by James I on 17 Safar 636 (28 September 1238); he stopped at Bougie before going on to Tunis, where Abu Zakariyya' received him favourably and appointed him chief of his chancellery .
Mecca's bay'a to the Hafsid al-Mustansir — c. 1250 CE · c. 648 AH
After the Tatars took Baghdad and erased the caliphate's rite, Mecca's sharifs Abu Numayy and Idris resolved on the bay'a to the Hafsid al-Mustansir of Ifriqiya, the Sufi jurist Ibn Sab'in dwelling by the sanctuary dictating the bay'a letter in his own hand — and Mecca preached the Hafsid name in the pilgrimage season.
Louis IX's siege of Tunis (the Eighth Crusade) — July 1270 CE · Dhu al-Qa'da 668 AH
Louis of France sailed at the end of Dhu al-Qa'da 668, mustered at Sardinia, and landed at Carthage with some six thousand horse and thirty thousand foot on three hundred ships — as Ibn Khaldun reports from his father from his grandfather — seven kings among them the lords of Sicily and the islands; he refused the sultan's envoy and pocketed the eighty thousand gold pieces sent to buy him off. The hosts met in mid-Muharram 669 with some five hundred dead on both sides, until the Frankish king was found dead in his camp; the peace was drawn by the qadi Ibn Zaytun over fifteen days, and Carthage was demolished, its stones carried to Tunis.
Charles V's conquest of Tunis (1535) — 1535 CE · 942 AH
Charles V chose Tunis for his riposte in North Africa, sailing from Barcelona with 30,000 men on 500 ships; in 942/1535 he retook the city and La Goulette — Khayr al-Din's 7,000 Ottomans and ~5,000 Tunisians could not hold it — and reinstalled al-Hasan b. Muhammad, bound to hand over Bône and Mahdia and to keep a 2,000-man Spanish garrison at La Goulette .