Abu Zakariyya breaks with the Almohads and founds the Hafsid state of Tunis
أبو زكريا الحفصي يخلع طاعة الموحدين ويؤسس الدولة الحفصية في تونس
627 AH · Nov 1229 CE This year in the atlas
The Almohad governor of Ifriqiya, Abu Zakariyya Yahya, dropped the caliph's name from the Friday sermon in 627 and ruled as an independent amir. The Hafsid state he founded at Tunis lasted until the Ottomans took it in 1574.
Details
Abu Hafs 'Umar al-Hintati, a Companion of the Mahdi Ibn Tumart, was one of the architects of Almohad power, and his descendants governed Ifriqiya for them. His grandson Abu Zakariyya Yahya removed his brother, the governor 'Abd Allah, in 625/1228. Under the pretext of defending the purity of Almohad doctrine, which he said was being undermined, he omitted the Almohad caliph's name from the khutba at the beginning of 627 (November-December 1229) and took the title of independent amir. In 628/1230 he seized Constantine and Bejaia, and by 1235 Algiers, and in July 1242 he took Tlemcen. He died in 647/1249. His line ruled from Tunis until 982/1574, beside the Marinids of Fez and the 'Abd al-Wadids of Tlemcen.
Significance
The Hafsids split the Almohad empire for good. After 1229 the Maghrib stayed divided into three states, at Fez, Tlemcen and Tunis, a map that outlived them as Morocco, Algeria and Tunisia.
Who was there — and how old
The arena: where the reports differ
When Hafsid independence began
625/1228, when Abu Zakariyya became governor.Encyclopaedia of Islam, 'Hafsids'
Beginning of 627 (November-December 1229), when the Almohad caliph's name was dropped from the khutba.Encyclopaedia of Islam, 'Hafsids' and 'Tunisia'
634/1236-7, when Abu Zakariyya's own name was included in the khutba and his sovereignty fully affirmed.Encyclopaedia of Islam, 'Hafsids'
Verdict: 1229 is the break: the khutba is the legal mark of sovereignty. The year 625 is when he took office, and 634 is when the independence was complete.
Did the defeat at al-'Iqab (Las Navas de Tolosa) bring on the Hafsid break with the Almohads?
Al-'Iqab began the ruin. It was the calamity of al-Andalus and indeed of the whole Maghrib: because of it most of the Maghrib was emptied of its men, and after it the Muslims never stood firm again; the state then weakened under al-Nasir's son al-Mustansir, and the house of 'Abd al-Mu'min fell to fighting over it after him. He does not name the Hafsids' break.al-Maqqari, Nafh al-tib (ed. Ihsan 'Abbas, 4/383-384)
The break came from Marrakesh's own quarrels. Abu Zakariyya threw off the caliph al-Ma'mun when he learned that al-Ma'mun had massacred the Almohad shaykhs of Hintata and Tinmallal, two of Abu Zakariyya's brothers among them, and had denied the Mahdi Ibn Tumart's infallibility and struck his name from the khutba and the coinage.Ibn Khaldun, al-'Ibar (6/380-381); H. R. Idris, Encyclopaedia of Islam, 'Hafsids', vol. 3, p. 66, who treats the defence of Almohad doctrine as a pretext
The break-up was built into the empire. The Almohads made members of the ruling family governors of towns and regions, with their own troops and a large measure of financial freedom, and the far provinces, the last to submit, were the first to leave. She dates the start of the decline to al-'Iqab, but explains the secessions by this structure.M. Shatzmiller, Encyclopaedia of Islam, 'al-Muwahhidun', vol. 7, p. 803
Verdict: Al-'Iqab weakened the Almohads, and no source doubts it, but it did not make the break; al-Maqqari, who speaks of the battle most strongly, does not tie it to the Hafsids. Seventeen years and four caliphs lie between the battle (609 AH/1212) and the break (626-627 AH/1228-1230). The fullest account, Ibn Khaldun's, ties the break to al-Ma'mun's purge and his denial of the Mahdi in the same year, a cause that fits the date exactly. The doctrinal plea was the Hafsids' own justification, which Ibn Khaldun, whose forebears served them, gives in their terms and Idris calls a pretext. Behind it lay the succession quarrels after al-Mustansir's death in 620 AH/1224 and governors who held their own armies. Al-'Iqab belongs to the background; the cause lay in Marrakesh.
Meanwhile
Sources (2)
Encyclopaedia of Islam (2nd/3rd ed.) — BrillHafsids, vol. 3
Encyclopaedia of Islam (2nd/3rd ed.) — BrillTunisia, vol. 10