Gafsa, ancient Capsa, is an oasis town of palms, olives and pistachios round its warm springs and Roman pools, on the road from the Jarid to Kairouan.
Al-Idrisi (about 1154) says its people still spoke the African Latin tongue. Its local dynasty, the Banu al-Rand, fell to the Almohads in 1159 and again after a revolt in 1180-81. Ali ibn Ghaniya and Qaraqush took it in the 1180s; al-Mansur recovered it in 1187-88, executed its Ghuzz defenders and razed its walls. By 1200 it is most likely back in Yahya ibn Ghaniya's hands.
Who holds it
- Title
- Yahya ibn Ghaniya's governor (probable)
- Since
- Not pinned; his before the battle of 597 AH
- Born
- Not pinned
- Family
- Not known
- Confidence
- low
Arabic Wikipedia: Yahya had taken Gafsa before routing the rebel of Mahdia at Qusur Lalla.
Lord in 1200
Yahya ibn Ghaniya (probable; not pinned)
How things stand that morning
Probably Yahya's; walls razed since 1188.
Council
The town's shaykhs (the old Banu al-Rand families?) under Yahya's man; not known.
Communities
Maliki Muslims; descendants of the Latin-speaking Christians noted by al-Idrisi (their faith in 1200 is not pinned).
Walls and castle
Byzantine walls razed by al-Mansur in 1188; the qasba's state not pinned.
Trade and crafts
Dates, olives, pistachios, wool cloth.
What the year holds
What happened next, if nothing in play changes it. Each event carries what it depends on and what would stop it.
- 596-597 AHThe rebel of Mahdia marches on Gafsa and is routed at Qusur Lalla nearby by Yahya.Depends on: The rebel's campaign. Stopped by: A peace.
Where the sources disagree
- Arabic Wikipedia says Yahya had taken Gafsa before the battle of 597; Ibn Khaldun lists Yahya's towns before Mahdia as Tripoli, Gabes, Sfax and the Jarid, without naming Gafsa, which some writers count in the Jarid.
Evidence: The date Yahya took it is not recorded in the sources we read.
Primary sources for Banu Ghaniya
Chronicles, registers, sagas and inscriptions written in or near 1200 that cover this entry. Each has its own page with editions, translations and where to read it.
- History of the Two Dynasties, the Almohad and the Hafsid, al-Zarkashi (Muhammad ibn Ibrahim al-Lu'lu'i al-Zarkashi) (about 1490 to 1495, at Tunis). A short Hafsid-era chronicle whose Almohad opening gives, in a few lines a reign, the succession of al-Mansur and al-Nasir, the Banu Ghaniya's seizure of Ifriqiya and its recovery, and the sending of Abd al-Wahid ibn Abi Hafs to Tunis, which the Hafsids counted as the start of their house. Read online
- The Complete History: the passages on the Maghreb and al-Andalus, Ibn al-Athir (about 1220 to 1231, at Mosul). The year entries for 595 to 597 of the Hijra (late 1198 to 1201) record the death of Yaqub al-Mansur, the accession of al-Nasir and the opening of Yahya ibn Ghaniya's war in Ifriqiya; the following years follow Yahya and the Ghuzz captain Qaraqush through Tripoli, Gabès and Mahdia to al-Nasir's reconquest in 1206, with the best eastern account of Qaraqush's career. Read online
- The Garden of Pages: a History of the Kings of the Maghreb and of the City of Fez, Ibn Abi Zar al-Fasi (completed in 1326 at Fez, for the Marinid sultan Abu Said Uthman). The Almohad chapters give a brisk dated narrative of al-Mansur's death and burial, al-Nasir's accession and the Banu Ghaniya troubles, with the kind of detail (coinage, public works at Fez and Rabat, prices, plagues) that a Fez compiler cared about, and the annals of Fez supply the city's governors and markets. Read online
- The Wondrous Account of the History of al-Andalus and the Maghreb, Ibn Idhari al-Marrakushi (about 1312, at Marrakesh). The Almohad section is the fullest year-by-year narrative of the caliphate around 1200: the last campaigns and the death of Abu Yusuf Yaqub al-Mansur in January 1199, the accession of his son Muhammad al-Nasir, the renewed war of the Banu Ghaniya in Ifriqiya under Yahya ibn Ishaq and his ally Qaraqush, the Almohad losses of Mahdia and Tunis a few years later, and al-Nasir's reconquest of Ifriqiya in 1205 to 1206 followed by the appointment of Abd al-Wahid ibn Abi Hafs as governor. Read online
- The Book of Examples: the History of the Berbers and of the Muslim Dynasties of North Africa, Ibn Khaldun (1375 to 1379 at Qal'at Ibn Salama and Tunis, revised until 1406). Ibn Khaldun's tribal histories are the standard account of the powers that Almohad chronicles treat as background: the Banu Hilal and Banu Sulaym in Ifriqiya and Tripolitania and their alliances with the Banu Ghaniya and Qaraqush; the Zenata of the central Maghreb (Banu Marin, Banu Abd al-Wad, Tujin, Maghrawa) before their rise; the Sanhaja and the veiled peoples of the Sahara; the Masmuda and the Almohad tribes. Read online
- The Pleasant Book: a Summary of the History of the Maghreb, Abd al-Wahid al-Marrakushi (completed in 1224, in the East, after the author left the Maghreb in 1217). Abd al-Wahid was a boy of fifteen at Fez and Marrakesh in 1200 and later moved in Almohad court circles, so his account of Yaqub al-Mansur (died January 1199) and of the first years of Muhammad al-Nasir is partly from memory and from men he knew: the character of the new caliph, the weakness that let the Banu Ghaniya overrun Ifriqiya, the Majorca expedition of 1203 and the Ifriqiya campaign of 1205 to 1206. Read online
- Official Letters of the Almohad Chancery (1140s to 1260s; the letters nearest 1200 are of the reigns of al-Mansur and al-Nasir). Circular letters from the caliphs to governors, tribes and towns announcing victories, appointments and policy, preserved in later manuscript collections.
- The Journey of al-Tijani, Abd Allah ibn Muhammad al-Tijani (after 1309 and before 1318, at Tunis). A Hafsid chancery official's travel book, which at each town stops to tell its history, and so preserves accounts of the Banu Ghaniya war and of Qaraqush in southern Ifriqiya and Tripolitania around 1200 (Gabès, Djerba, Tripoli, the Jarid oases) from lost Almohad-period sources. Read online
Sources and studies
- Arabic Wikipedia, Banu Ghaniya (after Ibn al-Athir, al-Tijani, Ibn Idhari, Ibn Khaldun, Bel 1903): Mahdia seized in Sha'ban 595; battle near Gafsa 597; Tunis entered 7 Rabi II 600 (15 December 1203)
- Ibn Khaldun, Histoire des Berberes, tr. de Slane, vol. 2 (1854): the Banu Ghaniya and Qaraqush (pp. 100-111), the Almohads (pp. 224-228), the Hafsids (pp. 291-293); read through the archive.org full-text search
- al-Idrisi, Description de l'Afrique et de l'Espagne, ed. and tr. Dozy and de Goeje (1866), the account of Ifriqiya, Tripoli and Barqa about 1154 (from general knowledge of the text, not re-read for this record)
Last revised 4 November 2026. Published 4 November 2026. Suggest a correction on the OMNIA Discord.