History of medieval Tunisia
Read the original on Wikipedia ↗ Last updated from Wikipedia: 4 December 2026
The medieval era of Tunisia began with what would eventually return Ifriqiya (Tunisia and the entire Maghrib) to local Berber rule. The Shia Islamic Fatimid Caliphate departed to their newly conquered territories in Egypt leaving the Zirid dynasty to govern in their stead. The Zirids eventually broke all ties to the Fatimids and formally embrace Sunni Islamic doctrines.
During this time there arose in Maghrib two strong local successive movements dedicated to Muslim purity in its practice. The Almoravids emerged in the far western area in al-Maghrib al-Aksa (Morocco) establishing an empire stretching as far north as modern Spain (al-Andalus) and south to Mauretania; Almoravid rule never included Ifriqiya. Later, the Berber religious leader Ibn Tumart founded the Almohad movement, supplanted the Almoravids, and eventually brought under the movement's control al-Maghrib and al-Andalus. Almohad rule was succeeded by the Tunis-based Hafsids. The Hafsids were a local Berber dynasty and would retain control with varying success until the arrival of the Ottomans in the western Mediterranean.[1][2]
Following the Fatimids (opens on Wikipedia), for the next half millennium Berber Ifriqiya enjoyed self-rule (1048−1574). The Fatimids were Shi'a, specifically of the more controversial Isma'ili branch. They originated in Islamic lands far to the east. Today, and for many centuries, the majority of Tunisians identify as Sunni (also from the east, but who oppose the Shi'a). In Ifriqiyah, at the time of the Fatimids, there was disdain for any rule from the east regardless if it was Sunni or Shi'a.[3] Hence the rise in medieval Tunisia (Ifriqiya) of regimes not beholden to the east (al-Mashriq), which marks a new and a popular era of Berber sovereignty.

Initially the local agents of the Fatimids managed to inspire the allegiance of Berber elements around Ifriqiya by appealing to Berber distrust of the Islamic east, here in the form of Aghlabid (opens on Wikipedia) rule. Thus, the Fatimids were ultimately successful in acquiring local state power. Nonetheless, once installed in Ifriqiya, Fatimid rule greatly disrupted social harmony; they imposed high, unorthodox taxes, leading to a Kharijite (opens on Wikipedia) revolt.[4] Later, the Fatimids of Ifriqiya (opens on Wikipedia) managed to accomplish their long-held, grand design for the conquest of Islamic Egypt; soon thereafter their leadership relocated to Cairo. The Fatimids left the Berber Zirids as their local vassals to govern in the Maghrib. Originally only a client of the Fatimid Shi'a Caliphate in Egypt, the Zirids eventually expelled the Shi'a Fatimids from Ifriqiya. In revenge, the Fatimids sent the disruptive Banu Hilal against Ifriqiya, which led to a period of social chaos and economic decline.[5]
The independent Zirid dynasty has been viewed historically as a Berber kingdom; the Zirids were essentially founded by a leader among the Sanhaja Berbers.[6] Concurrently, the Sunni Umayyad Caliphate of Córdoba (opens on Wikipedia) were opposing and battling against the Shi'a Fatimids.[7] Perhaps because Tunisians have long been Sunnis themselves, they may currently evidence faint pride in the Fatimid Caliphate's role in Islamic history. In addition to their above grievances against the Fatimids (per the Banu Hilal), during the Fatimid era the prestige of cultural leadership within al-Maghrib shifted decisively away from Ifriqiya and instead came to be the prize of al-Andalus.[8]
During the interval of generally disagreeable Shi'a rule, the Berber people appear to have ideologically moved away from a popular antagonism against the Islamic east (al-Mashriq), and toward an acquiescence to its Sunni orthodoxy, though of course mediated by their own Maliki school of law (viewed as one of the four orthodox madhhab by the Sunni). Professor Abdallah Laroui remarks that while enjoying sovereignty the Berber Maghrib experimented with several doctrinal viewpoints during the 9th to the 13th centuries, including the Khariji (opens on Wikipedia), Zaydi (opens on Wikipedia), Shi'a, and Almohad. Eventually they settled on an orthodoxy, on Maliki Sunni doctrines. This progression indicates a grand period of Berber self-definition.[9]
Tunis under the Almohads would become the permanent capital of Ifriqiya. The social discord between Berber and Arab would move toward resolution.[10] In fact it might be said that the history of the Ifriqiya prior to this period was prologue, which merely set the stage; henceforth, the memorable events acted on that stage would come to compose the History of Tunisia for its modern people.[11] Prof. Perkins mentions the preceding history of rule from the east (al-Mashriq), and comments that following the Fatimids departure there arose in Tunisia an intent to establish a "Muslim state geared to the interests of its Berber majority." Thus commenced the medieval era of their sovereignty.[12][13]
Result of migrations
Twenty or so Berber languages[14][15][16] (also called Tamazight) are spoken in North Africa. Berber speakers were once predominant over all this large area, but as a result of Arabization and later local migrations, today Berber languages are reduced to several large regions (in Morocco, Algeria, and the central Sahara) or remain as smaller language islands.[17][18] Several linguists characterize the Berber spoken as one language with many dialect variations, spread out in discrete regions, without ongoing standardization.[19] The Berber languages may be classified as follows (with some more widely known languages or language groups shown in italics).[20][21] Ethnic historical correspondence is suggested by the designation |Tribe|.[22]

- I. Guanche [extinct] - (Canary Islands).
- II. Old Libyan [extinct] - (West of ancient Egypt).
- III. Berber Proper.
- A. Eastern: Siwa, Awjila, Sokna - (Libya & Egypt).
- B. Tuareg - (Central Sahara region).[23] |Sanhaja|
- C. Western: Zenaga - (Mauritania & Senegal). |Sanhaja|
- D. Northern Berber languages - (Maghrib).
- 1. Atlas (opens on Wikipedia): Shilha, Central Morocco Tamazight - (Morocco & Algeria). |Masmuda|
- 2. Kabyle - (East of Algiers). |Sanhaja|
- 3. Zenati - (Morocco, Algeria, & Tunisia). |Zenata|
Nota Bene: The classification and nomenclature of Berber languages lack complete consensus.[24]
Script, writings
The Libyan Berbers developed their own writing system, evidently derived from Phoenician,[25] as early as the 4th century BC.[26][27] It was a boustrophic script, i.e., written left to right then right to left on alternating lines, or up and down in columns.[28] Most of these early inscriptions were funerary and short in length. Several longer texts exist, taken from Thugga, modern Dougga, Tunisia. Both are bilingual, being written in Punic with its letters and in Berber with its letters. One throws some light on the governing institutions of the Berbers in the 2nd century BC.[29] The other text begins: "This temple the citizens of Thugga built for King Masinissa.... "[30] Today the script descendent from the ancient Libyan remains in use; it is called Tifinagh.[31]

Berber, however, no longer is widely spoken in present-day Tunisia; e.g., centuries ago many of its Zenata Berbers became Arabized.[32] Today in Tunisia the small minority that speaks Berber may be heard on Jerba island, around the salt lakes region, and near the desert, as well as along the mountainous border with Algeria (across this frontier to the west lies a large region where the Zenati Berber languages and dialects predominate).[33][34] In contrast, use of Berber is relatively common in Morocco,[35] and also in Algeria,[36] and in the remote central Sahara.[37][38] Berber poetry endures,[39] as well as a traditional Berber literature.[40][41]
Loading “Berber tribal affiliations”…
Loading “Zirid Berber succession”…
Loading “Normans in coastal Tunisia”…
Loading “Berber Islamic movements”…
Loading “Almohads (al-Muwahiddin)”…
Loading “Hafsid dynasty of Tunis”…
Loading “Ibn Khaldun”…
Loading “See also”…
Loading “References”…
Loading “External links”…
Image credits (15)
- Coat of arms of Tunisia.svg — FXXX, CC BY-SA 3.0, via Wikimedia Commons
- Berber-map.png — Davius, Public domain, via Wikimedia Commons
- Afroasiatic languages-en.svg — Miskwito, CC BY-SA 3.0, via Wikimedia Commons
- Atlas-Mountains-Labeled-2.jpg, Public domain, via Wikimedia Commons
- Fatimid.jpg — Askelaadden, CC BY-SA 4.0, via Wikimedia Commons
- Banu Amir Branches.JPG — Slackerlawstudent, Public domain, via Wikimedia Commons
- Almoravid Dynasty 1073 - 1147 (AD).PNG — Arab League at English Wikipedia, CC BY-SA 3.0, via Wikimedia Commons
- Almohad dynasty 1147 - 1269 (AD).PNG — Arab League at English Wikipedia, Public domain, via Wikimedia Commons
- Flag of Almohad Dynasty.svg — Ch1902, Public domain, via Wikimedia Commons
- Averroes closeup.jpg — Raphael, Public domain, via Wikimedia Commons
- Hafsid1400.png — Gabagool, CC BY 3.0, via Wikimedia Commons
- Madhhab Map3.png — Peaceworld111, CC BY-SA 4.0, via Wikimedia Commons
- Antonio Millo Bacino del Mediterraneo.jpg — Antonio Millo, Public domain, via Wikimedia Commons
- Ibn Khaldoun.jpg, Public domain, via Wikimedia Commons
- Moroccan stop sign in Arabic and Berber.jpg — No machine-readable author provided. Vermondo assumed (based on copyright claims)., CC BY-SA 3.0, via Wikimedia Commons