Share

After the defeat of the Almohads in the Battle of Al-Aqabah in 1212 CE, the state weakened across all its institutions, and weak successors took control, losing grip on power. When they attempted to restore order, they were surprised by the strength that Moroccan tribes had developed around al-Andalus.[1]
This led to the collapse of central authority, with tribal groups dividing governance among themselves: the Banu Marin in the far north of Morocco, the Banu Zayyan in central Morocco, and the Hafsid state in Tunis.[1]
The Hafsid State was the fourth Islamic state in Tunisia. It was founded by Abu Zakariya al-Hafsi, a member of a Berber-origin tribe residing in the far western Maghreb. He served as governor of the Almohad state in Tunisia. Taking advantage of the rulers' weakness during this period, he declared independence without facing resistance, thus establishing Hafsid rule over Tunisia.[1]
The Hafsid domain extended over Tunisia, Tripoli, and Constantine in Algeria. The region was divided into administrative zones governed by provincial governors and tribal leaders. These governors were often relatives of the ruling princes, indicating significant influence from intermediaries in governance—this inevitably contributed to widespread institutional weakening.[1]
Abu Zakariya al-Hafsi had multiple reasons for establishing the Hafsid State, including:[2]
Using these grievances as justification, Abu Zakariya rejected allegiance to Idris al-Mamun and proclaimed the independence of Tunisia under the banner of the Hafsid State. He succeeded in bringing most surrounding tribes under his authority and gained the loyalty of people from eastern al-Andalus.[2] He was also called upon by the people of Valencia for defense when the city came under siege. He sent ships loaded with weapons, supplies, and troops to aid them. However, the relentless siege proved too strong, and the defenders ultimately surrendered.[2]
As the reputation of the Hafsid State grew under Prince Abu Zakariya’s leadership, it gained recognition and respect from neighboring regions. Diplomatic ties were established, and many cities sought its friendship. European states were particularly eager to build relations, especially those seeking economic security and mutual protection for maritime trade. Multiple agreements were signed between the Hafsid State and Venice, Genoa, and Pisa.
These treaties guaranteed the safety of merchant caravans, established trade regulations, recognized Christian consuls, and prohibited collective liability for their property. Under Abu Zakariya’s rule, the state treasury was significantly strengthened through revenue. His realm became a refuge for those fleeing the fall of al-Andalus. These exiles flourished under his reign, assuming key leadership roles, and brought with them advanced cultural achievements from their former homeland.










