Hafsid dynasty
A Sunni Muslim dynasty of Berber descent that ruled Ifriqiya, in modern Tunisia, western Libya and eastern Algeria, from Tunis between 1229 and 1574.
Significance
The Hafsids ruled from Tunis, introduced the first madrasas to the Maghreb, and held a large stake in trans-Saharan trade as well as trade with Christian Europe.
About
The Hafsid dynasty was a Sunni Muslim dynasty of Berber descent that ruled Ifriqiya, which covers modern Tunisia, western Libya and eastern Algeria, from 1229 to 1574. Its name comes from Abu Hafs Umar ibn Yahya al-Hintati, a Berber of the Hintata confederation who sat on the Council of Ten, one of the highest Almohad bodies, and was a close companion of the Almohad founder Ibn Tumart. To strengthen their legitimacy, the Hafsids also claimed Arab ancestry from the caliph Omar.
Abu Hafs's son Abu Muhammad Abd al-Wahid governed Ifriqiya for the Almohads from 1207 to 1221 from Tunis, the province's administrative capital, and was granted a good deal of autonomy. As Almohad authority weakened, another Hafsid, Abu Zakariya Yahya, took charge of the province, and in 1228 the rebel al-Ma'mun confirmed him there. When al-Ma'mun renounced Almohad doctrine in 1229, Abu Zakariya used it as a pretext to declare himself independent. Around 1236 he took the caliphal title Amir al-Mu'minin. He annexed Constantine and Béjaïa in 1230 and captured Algiers in 1235. In 1242 he took Tlemcen, whose Zayyanid ruler then agreed to recognize his authority. He welcomed refugees from al-Andalus and gave some of them important posts.
His successor Muhammad I al-Mustansir, who reigned from 1249 to 1277, consolidated the state, and trade with Europe and the Sudan region grew. The Marinids recognized his authority in 1258, and the Sharif of Mecca briefly recognized him as caliph in 1259. During his reign the Eighth Crusade under Louis IX of France landed at Carthage, and Louis died of dysentery in 1270. After al-Mustansir died, internal conflict and Aragonese interference split the dynasty into an eastern branch ruling from Tunis and a western branch ruling from Béjaïa and Constantine. Abu Yahya Abu Bakr II of the western branch took Tunis and reunited the realm, reigning from 1318 to 1346.
His death brought a new crisis. The Marinid sultan Abu al-Hasan invaded and conquered Tunis in 1347, but he had to return west in 1349. His son Abu Inan captured Tunis in August 1357 and was soon forced by his own troops to leave. Plague epidemics brought from Sicily caused a considerable fall in population. Unity returned in 1370, when Abu al-Abbas Ahmad II, emir of Béjaïa and Constantine, conquered Tunis. He centralized power more than any earlier Hafsid and began the dynasty's period of greatest power.
Contemporary writers regarded the reign of Abu Faris Abd al-Aziz II, from 1394 to 1434, as the apogee of Hafsid power and prosperity. He retook southern oases, annexed Tripoli and Algiers, and made the Zayyanids of Tlemcen his vassals. The Hafsids also raided Christian shipping. They attacked Malta in 1429 and took 3000 slaves, and their piracy brought crusading counterattacks such as the Barbary crusade of 1390 and the Bona crusade of 1399. Abu Amr Uthman, who reigned from 1435 to 1488, had the longest Hafsid reign. He conquered Tripolitania in 1458, and after his expeditions against Tlemcen in 1462 and 1466 the Zayyanids became his vassals and the Wattasids of Morocco formally accepted his authority.
After Uthman, Hafsid power gradually declined. Spain took Béjaïa in 1510, and in the sixteenth century the Hafsids were caught between Spain and the Ottoman-supported corsairs. The Ottomans took Tunis in 1534, and Charles V restored the Hafsid ruler al-Hasan as a Habsburg tributary a year later. Tunis fell to the Ottomans again in 1569 and was retaken by Don Juan of Austria in 1573. In 1574 the Ottomans conquered it for the last time, ending the dynasty. Its last caliph, Muhammad VI, was taken to Constantinople and executed.
The Hafsid period was also one of cultural activity. The Hafsids introduced the first madrasas to the Maghreb, beginning with the Madrasa al-Shamma'iyya in Tunis in 1238 (some sources say 1249), and the Zaytuna Mosque became the country's leading center of learning. Andalusi migrants served as scribes and officials, and the historian Ibn Khaldun, of Andalusi descent, was born in Tunis. Tunis grew to about 100,000 people by the mid-fourteenth century. The Hafsids also had a large stake in trans-Saharan trade, through caravan routes from Tunis to Timbuktu and from Tripoli to sub-Saharan Africa.
Connections
- Defeated at Conquest of Tunis (1534) (Battle, 1534 CE)
- Defeated at Capture of Béjaïa (Battle, 1510 CE)
- Controls Tripolitania (Political entity)
- Participated in Hafsid conquest of Tripolitania (War, 1458 CE)
- Participated in Hafsid raid on Malta (Battle, 1429 CE)
- Defeated at Ottoman conquest of Tunis (1574) (Battle, 1574 CE)
- Victorious at Siege of Mahdia (1390) (Battle, 1390 CE)
- Defeated at Ottoman capture of Tunis (1569) (Battle, 1569 CE)
- Has capital Tunis (City)
- Used currency dinar (Currency monetary system)
- Has member Muhammad I al-Mustansir (Person, 1213 CE – 1277 CE)
- Ruled by Abu Amr Uthman (Person, 1418 CE – 1488 CE)
- Ruled by Abu Faris Abd al-Aziz II (Person, 1361 CE – 1434 CE)
- Has member Abu Yahya Abu Bakr II (Person, 1290 CE – 1346 CE)
- Has member Abu Zakariya (Person, 1203 CE – 1249 CE)
- Ruled by Abu al-Abbas Ahmad II (Person, 1329 CE – 1394 CE)
- Participated in Bona crusade (War, 1399 CE)
- Participated in Capture of Tunis (Battle, 1569 CE)
- Participated in Treaty of Tunis (Treaty, 1270 CE)
- Participated in Zayyanid–Almohad wars (War, 1236 CE – 1248 CE)
- Participated in Battle of Monastir (Battle, 1540 CE)
- Participated in Siege of Tlemcen (Battle, 1242 CE)
- Participated in Siege of Nefta (Battle, 1441 CE)
- Participated in Hafsid–Daouaouïda War (War, 1266 CE – 1268 CE)
- Participated in Battle of Fajj al-Naam (Battle, 1318 CE)
- Participated in Hafsid–Zayyanid War (War, 1410 CE – 1424 CE)
- Participated in Battle of Biskra (Battle, 1401 CE)
- Participated in Battle of Gabès (Battle, 1387 CE)