The Aghlabid dynasty () was an
Arab
Arabs (, , ; , , ) are an ethnic group mainly inhabiting the Arab world in West Asia and North Africa. A significant Arab diaspora is present in various parts of the world.
Arabs have been in the Fertile Crescent for thousands of years ...
dynasty centered in
Ifriqiya
Ifriqiya ( '), also known as al-Maghrib al-Adna (), was a medieval historical region comprising today's Tunisia, eastern Algeria, and Tripolitania (roughly western Libya). It included all of what had previously been the Byzantine province of ...
(roughly present-day
Tunisia
Tunisia, officially the Republic of Tunisia, is a country in the Maghreb region of North Africa. It is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east. Tunisia also shares m ...
) from 800 to 909 that conquered parts of
Sicily
Sicily (Italian language, Italian and ), officially the Sicilian Region (), is an island in the central Mediterranean Sea, south of the Italian Peninsula in continental Europe and is one of the 20 regions of Italy, regions of Italy. With 4. ...
,
Southern Italy
Southern Italy (, , or , ; ; ), also known as () or (; ; ; ), is a macroregion of Italy consisting of its southern Regions of Italy, regions.
The term "" today mostly refers to the regions that are associated with the people, lands or cultu ...
, and possibly
Sardinia
Sardinia ( ; ; ) is the Mediterranean islands#By area, second-largest island in the Mediterranean Sea, after Sicily, and one of the Regions of Italy, twenty regions of Italy. It is located west of the Italian Peninsula, north of Tunisia an ...
, nominally as vassals of the
Abbasid Caliphate
The Abbasid Caliphate or Abbasid Empire (; ) was the third caliphate to succeed the Islamic prophet Muhammad. It was founded by a dynasty descended from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 CE), from whom the dynasty takes ...
. The Aghlabids were from the tribe of
Banu Tamim and adhered to the
Mu'tazilite rationalist doctrine within
Hanafi
The Hanafi school or Hanafism is the oldest and largest Madhhab, school of Islamic jurisprudence out of the four schools within Sunni Islam. It developed from the teachings of the Faqīh, jurist and theologian Abu Hanifa (), who systemised the ...
Sunni Islam
Sunni Islam is the largest Islamic schools and branches, branch of Islam and the largest religious denomination in the world. It holds that Muhammad did not appoint any Succession to Muhammad, successor and that his closest companion Abu Bakr ...
, which they imposed as the state doctrine of Ifriqiya.
They ruled until 909 when they were
conquered
Conquest involves the annexation or control of another entity's territory through war or coercion. Historically, conquests occurred frequently in the international system, and there were limited normative or legal prohibitions against conquest ...
by the new power of the
Fatimids
The Fatimid Caliphate (; ), also known as the Fatimid Empire, was a caliphate extant from the tenth to the twelfth centuries CE under the rule of the Fatimid dynasty, Fatimids, an Isma'ili Shi'a dynasty. Spanning a large area of North Africa ...
.
History
Independence and consolidation
In 800, the Abbasid Caliph
Harun al-Rashid
Abū Jaʿfar Hārūn ibn Muḥammad ar-Rāshīd (), or simply Hārūn ibn al-Mahdī (; or 766 – 24 March 809), famously known as Hārūn al-Rāshīd (), was the fifth Abbasid caliph of the Abbasid Caliphate, reigning from September 786 unti ...
appointed
Ibrahim I ibn al-Aghlab, son of a
Khurasanian Arab commander from the
Banu Tamim tribe,
as hereditary
Emir
Emir (; ' (), also Romanization of Arabic, transliterated as amir, is a word of Arabic language, Arabic origin that can refer to a male monarch, aristocratic, aristocrat, holder of high-ranking military or political office, or other person po ...
of Ifriqiya, in response to the anarchy that had reigned in that province following the fall of the
Muhallabids. At that time there were perhaps 100,000
Arabs
Arabs (, , ; , , ) are an ethnic group mainly inhabiting the Arab world in West Asia and North Africa. A significant Arab diaspora is present in various parts of the world.
Arabs have been in the Fertile Crescent for thousands of yea ...
living in Ifriqiya, although the
Berbers
Berbers, or the Berber peoples, also known as Amazigh or Imazighen, are a diverse grouping of distinct ethnic groups indigenous to North Africa who predate the arrival of Arab migrations to the Maghreb, Arabs in the Maghreb. Their main connec ...
still constituted the great majority. Most of the Arab immigrants had come from
Syria
Syria, officially the Syrian Arab Republic, is a country in West Asia located in the Eastern Mediterranean and the Levant. It borders the Mediterranean Sea to the west, Turkey to Syria–Turkey border, the north, Iraq to Iraq–Syria border, t ...
and
Iraq
Iraq, officially the Republic of Iraq, is a country in West Asia. It is bordered by Saudi Arabia to Iraq–Saudi Arabia border, the south, Turkey to Iraq–Turkey border, the north, Iran to Iran–Iraq border, the east, the Persian Gulf and ...
, both of which had consistently contributed a significant number of migrants to the
Maghreb
The Maghreb (; ), also known as the Arab Maghreb () and Northwest Africa, is the western part of the Arab world. The region comprises western and central North Africa, including Algeria, Libya, Mauritania, Morocco, and Tunisia. The Maghreb al ...
region from the start.
Ibrahim was to control an area that encompassed what is now eastern
Algeria
Algeria, officially the People's Democratic Republic of Algeria, is a country in the Maghreb region of North Africa. It is bordered to Algeria–Tunisia border, the northeast by Tunisia; to Algeria–Libya border, the east by Libya; to Alger ...
,
Tunisia
Tunisia, officially the Republic of Tunisia, is a country in the Maghreb region of North Africa. It is bordered by Algeria to the west and southwest, Libya to the southeast, and the Mediterranean Sea to the north and east. Tunisia also shares m ...
and
Tripolitania
Tripolitania (), historically known as the Tripoli region, is a historic region and former province of Libya.
The region had been settled since antiquity, first coming to prominence as part of the Carthaginian empire. Following the defeat ...
.
The territory granted to Ibrahim was not demarcated, as it theoretically encompassed the entire Maghreb west of
Cyrenaica
Cyrenaica ( ) or Kyrenaika (, , after the city of Cyrene), is the eastern region of Libya. Cyrenaica includes all of the eastern part of Libya between the 16th and 25th meridians east, including the Kufra District. The coastal region, als ...
, including any newly conquered territories.
Although independent in all but name, his dynasty never ceased to recognise Abbasid overlordship. The Aghlabids paid an annual tribute of 800,000 dirhams to the Abbasid Caliph and their suzerainty was referenced in the ''
khutba'' at
Friday prayers.
After the pacification of the country Ibrahim ibn al-Aghlab established a residence at a new capital,
al-Abbasiyya, founded outside
Kairouan in 800
and built between 801 and 810.
This was done partly to distance himself from the opposition of the
Malikite jurists and theologians, who condemned what they saw as the luxurious life of the Aghlabids (not to mention the fact that the Aghlabids were
Mu'tazilites in theology, and
Hanafi
The Hanafi school or Hanafism is the oldest and largest Madhhab, school of Islamic jurisprudence out of the four schools within Sunni Islam. It developed from the teachings of the Faqīh, jurist and theologian Abu Hanifa (), who systemised the ...
s in
fiqh
''Fiqh'' (; ) is the term for Islamic jurisprudence.[Fiqh](_blank)
Encyclopædia Britannica ''Fiqh'' is of ...
), and disliked the unequal treatment of the Muslim Berbers. Additionally, border defenses such as
ribats were set up, including in coastal cities like
Sousse
Sousse, Sūsah , or Soussa (, ), is a city in Tunisia, capital of the Sousse Governorate. Located south of the capital Tunis, the city has 271,428 inhabitants (2014). Sousse is in the central-east of the country, on the Gulf of Hammamet, which ...
(Susa) and
Monastir. The Aghlabids also built up the irrigation of the area and enhanced the public buildings and
mosques of Ifriqiya.
Slaves were obtained through the
trans-Saharan trade, through
Mediterranean
The Mediterranean Sea ( ) is a sea connected to the Atlantic Ocean, surrounded by the Mediterranean basin and almost completely enclosed by land: on the east by the Levant in West Asia, on the north by Anatolia in West Asia and Southern ...
commerce, and from raids on other lands like Sicily and Italy.
The Aghlabid army was composed of two main elements. The first was the ''
jund'', or Arab troops descended from the Arab tribesmen who had participated in the
early Muslim conquests
The early Muslim conquests or early Islamic conquests (), also known as the Arab conquests, were initiated in the 7th century by Muhammad, the founder of Islam. He established the first Islamic state in Medina, Arabian Peninsula, Arabia that ...
of North Africa.
The other component of the army was recruited from slaves, put in place partly to counterbalance to the power of the ''jund''. It was recorded that 5,000 black
Zanj slaves were stationed in Abbasiya as part of its garrison.
Under
Ziyadat Allah I (r. 817–838) came a revolt of Arab troops (the ''jund'') in 824, the last but most serious episode of confrontation between them and the Aghlabid emirs.
The rebellion was led by a commander named Mansur ibn Nasr al-Tunbudhi, who owned a fortress near Tunis. By September 824 the rebels had occupied Tunis and Kairouan, but the Aghlabids managed to repel them from Kairouan a month later and killed Mansur. Another chief, Amir ibn Nafi', took over leadership of the rebels and inflicted a severe defeat on Ziyadat Allah's forces. Eventually, the emir was able to gain the upper hand with the help of the
Ibadite Berbers of the
Nafwaza region and finally crushed the rebellion in 827.
In 838/839 (224
AH) the southwestern province of Qastiliya (the
Djerid region), largely inhabited by
Ibadi
Ibadism (, ) is a school of Islam concentrated in Oman established from within the Kharijites. The followers of the Ibadi sect are known as the Ibadis or, as they call themselves, The People of Truth and Integrity ().
Ibadism emerged around 6 ...
Muslims, revolted, prompting the Aghlabids to recapture
Tozeur, its main city, that year.
Conquest of Sicily
In 827, soon after Ziyadat Allah defeated the rebellion, the Aghlabid
conquest of Sicily began.
Asad ibn al-Furat, a ''
qadi
A qadi (; ) is the magistrate or judge of a Sharia court, who also exercises extrajudicial functions such as mediation, guardianship over orphans and minors, and supervision and auditing of public works.
History
The term '' was in use from ...
'' from Kairouan, was appointed as commander of the Aghlabid forces.
The pretense for this invasion was an internal revolt in Byzantine
Sicily
Sicily (Italian language, Italian and ), officially the Sicilian Region (), is an island in the central Mediterranean Sea, south of the Italian Peninsula in continental Europe and is one of the 20 regions of Italy, regions of Italy. With 4. ...
led by a military commander named
Euphemios who requested support from the Aghlabids.
Despite the political differences and rivalry between the Aghlabids, who served under the
Abbasid Caliphate
The Abbasid Caliphate or Abbasid Empire (; ) was the third caliphate to succeed the Islamic prophet Muhammad. It was founded by a dynasty descended from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 CE), from whom the dynasty takes ...
, and the
Umayyad Emirate of Cordoba, the Muslims of
al-Andalus
Al-Andalus () was the Muslim-ruled area of the Iberian Peninsula. The name refers to the different Muslim states that controlled these territories at various times between 711 and 1492. At its greatest geographical extent, it occupied most o ...
(in the
Iberian Peninsula
The Iberian Peninsula ( ), also known as Iberia, is a peninsula in south-western Europe. Mostly separated from the rest of the European landmass by the Pyrenees, it includes the territories of peninsular Spain and Continental Portugal, comprisin ...
) also sent a fleet under Asba' ibn Wakil to aid the Aghlabid conquest of Sicily. Ibn Kathir recorded that a joint force of 300 Umayyad and Aghlabid ships were present. The Aghlabid garrison at Mineo managed to get into contact with the Andalusian Umayyads, who immediately agreed to the alliance, provided that Asba' was recognized as the overall commander, and, together with fresh troops from Ifriqiya, they marched on Mineo. Theodotus retreated to Enna and the siege of Mineo was broken in July or August 830.
[Bury (1912), p. 304] The combined Ifriqiyan and Andalusian army then torched Mineo and laid siege to another town, possibly Calloniana (modern
Barrafranca). However, a plague broke out in their camp, causing the death of Asba' and many others. The town fell later, in autumn, but the Arabs' numbers were depleted to the point where they were forced to abandon it and retreat west. Theodotus launched a pursuit and inflicted heavy casualties, and, thereafter, most of the Andalusians departed the island. However, Theodotus too was killed at this time, possibly in one of these skirmishes.
The conquest of Sicily proceeded slowly and at an uneven pace, progressing roughly from west to east through multiple campaigns over many years.
Palermo
Palermo ( ; ; , locally also or ) is a city in southern Italy, the capital (political), capital of both the autonomous area, autonomous region of Sicily and the Metropolitan City of Palermo, the city's surrounding metropolitan province. The ...
was conquered in 831 and became the capital of Muslim rule on the island and the base for further conquests.
Messina was besieged and captured in 842 or 843, possibly with the support of some
Neapolitans, and became a base for further campaigns into the
Italian mainland.
Syracuse was captured in 878.
The conquest of the island was not fully completed until 902, when
Taormina was conquered.
Even after this, however, some patches of local Byzantine/Christian resistance continued until 967, long after the Aghlabid dynasty had ended.
Italian Peninsula
Even as the conquest of Sicily was ongoing, the Aghlabids began campaigning on the Italian mainland. Their invasions of
Calabria
Calabria is a Regions of Italy, region in Southern Italy. It is a peninsula bordered by the region Basilicata to the north, the Ionian Sea to the east, the Strait of Messina to the southwest, which separates it from Sicily, and the Tyrrhenian S ...
and
Apulia
Apulia ( ), also known by its Italian language, Italian name Puglia (), is a Regions of Italy, region of Italy, located in the Southern Italy, southern peninsular section of the country, bordering the Adriatic Sea to the east, the Strait of Ot ...
, as well as their attacks on other central
Mediterranean
The Mediterranean Sea ( ) is a sea connected to the Atlantic Ocean, surrounded by the Mediterranean basin and almost completely enclosed by land: on the east by the Levant in West Asia, on the north by Anatolia in West Asia and Southern ...
islands, were probably undertaken as an extension of their conquest of Sicily, aiming to aid the latter by attacking other Byzantine positions in the region.
The first major expeditions to the peninsula took place between 835 and 843.
Amantea was taken in 839 or 846 and occupied until 886, when the Byzantines retook it.
Taranto
Taranto (; ; previously called Tarent in English) is a coastal city in Apulia, Southern Italy. It is the capital of the province of Taranto, serving as an important commercial port as well as the main Italian naval base.
Founded by Spartans ...
was captured in 840 and occupied until 880.
Bari
Bari ( ; ; ; ) is the capital city of the Metropolitan City of Bari and of the Apulia Regions of Italy, region, on the Adriatic Sea in southern Italy. It is the first most important economic centre of mainland Southern Italy. It is a port and ...
was captured by Muslims either in 840 or 847.
Rome
Rome (Italian language, Italian and , ) is the capital city and most populated (municipality) of Italy. It is also the administrative centre of the Lazio Regions of Italy, region and of the Metropolitan City of Rome. A special named with 2, ...
was
raided by a Muslim force in 846, although it is not certain that the raiders came from Aghlabid territory.
Another attack towards Rome took place in 849, leading to a
great naval battle near
Ostia during which a fleet of Muslim ships was destroyed, marking a halt to Muslim advances on the peninsula.
Many of the Muslim forces that operated on the peninsula or occupied some of its cities seem to have had only tenuous allegiances to the Aghlabid dynasty.
Some Muslim mercenaries even entered into the service of
Naples
Naples ( ; ; ) is the Regions of Italy, regional capital of Campania and the third-largest city of Italy, after Rome and Milan, with a population of 908,082 within the city's administrative limits as of 2025, while its Metropolitan City of N ...
or local
Lombard rulers at various times.
The early Muslim occupiers of Bari, for example, appear to have served as mercenaries of
Radelchis I of
Benevento
Benevento ( ; , ; ) is a city and (municipality) of Campania, Italy, capital of the province of Benevento, northeast of Naples. It is situated on a hill above sea level at the confluence of the Calore Irpino (or Beneventano) and the Sabato (r ...
. The
Emirate of Bari, which existed from 847 to 871,
had its own rulers whose relations to the Aghlabids are not clearly known.
Malta, Sardinia and Corsica
Elsewhere in the central Mediterranean, the Aghlabids
conquered
Conquest involves the annexation or control of another entity's territory through war or coercion. Historically, conquests occurred frequently in the international system, and there were limited normative or legal prohibitions against conquest ...
the island of
Malta
Malta, officially the Republic of Malta, is an island country in Southern Europe located in the Mediterranean Sea, between Sicily and North Africa. It consists of an archipelago south of Italy, east of Tunisia, and north of Libya. The two ...
in 870.
They also attacked or raided
Sardinia
Sardinia ( ; ; ) is the Mediterranean islands#By area, second-largest island in the Mediterranean Sea, after Sicily, and one of the Regions of Italy, twenty regions of Italy. It is located west of the Italian Peninsula, north of Tunisia an ...
and
Corsica
Corsica ( , , ; ; ) is an island in the Mediterranean Sea and one of the Regions of France, 18 regions of France. It is the List of islands in the Mediterranean#By area, fourth-largest island in the Mediterranean and lies southeast of the Metro ...
.
Some modern references state that Sardinia came under Aghlabid control around 810 or after the beginning of the conquest of Sicily in 827. The historian Corrado Zedda argues that the island hosted a Muslim presence during the Aghlabid period, possibly a limited foothold along the coasts that forcibly coexisted with the local Byzantine government. In contrast, the historian Alex Metcalfe argues that the available evidence for any Muslim occupation or colonisation of the island during this period is limited and inconclusive, and that Muslim attacks were limited to raids.
According to Fabio Pinna, most Sardinian historians and archaeologists studying this period of the island's history have reached the same conclusion, denying that a Muslim conquest and occupation of Sardinia took place, due to insufficient supporting evidence from archaeology and local historical records.
Apogee in Ifriqiya
The expansion campaign into Sicily, which Ziyadat Allah launched right after defeating the ''jund'' rebellion that started in 824, gave the restless Arab troops of Ifriqiya a new outlet for their military energies. It also brought in new revenues to the Aghlabid state.
At home, the Aghlabid emirs faced significant criticism from
Maliki
The Maliki school or Malikism is one of the four major madhhab, schools of Islamic jurisprudence within Sunni Islam. It was founded by Malik ibn Anas () in the 8th century. In contrast to the Ahl al-Hadith and Ahl al-Ra'y schools of thought, the ...
religious
scholars
A scholar is a person who is a researcher or has expertise in an academic discipline. A scholar can also be an academic, who works as a professor, teacher, or researcher at a university. An academic usually holds an advanced degree or a terminal ...
, who held great influence as religious elites in the region. They dealt with this problem by drawing the Maliki scholars into the orbit of the state and granting them appointments to high religious offices. They also countered criticism of their wealth and privilege by publicly dispensing charity to the poor and sponsoring the construction and expansion of mosques.
All of these factors led to greater internal stability and peace in Ifriqiya after 827.
Agriculture and trans-Saharan trade were further developed under Aghlabid rule, leading to economic expansion and a growing urban population.
The Aghlabid emirs sponsored building projects, notably the rebuilding of the
Great Mosque of Kairouan, and the kingdom developed an architectural style which combined
Abbasid
The Abbasid Caliphate or Abbasid Empire (; ) was the third caliphate to succeed the prophets and messengers in Islam, Islamic prophet Muhammad. It was founded by a dynasty descended from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 C ...
and
Byzantine
The Byzantine Empire, also known as the Eastern Roman Empire, was the continuation of the Roman Empire centred on Constantinople during late antiquity and the Middle Ages. Having survived the events that caused the fall of the Western Roman E ...
architecture.
In 876
Ibrahim II ibn Ahmad moved his residence from al-Abbasiya to a new palace-city that he founded, called
Raqqada. The new city contained a mosque,
baths, market, and several palaces. For the rest of his life, Ibrahim II resided in a palace called ''Qasr al-Fath'' (), which also remained the residence of his successors (except for some periods when they moved to Tunis).
Decline and fall
The decline of the dynasty began under Ibrahim II (875–902). An attack by the
Tulunids
The Tulunid State, also known as the Tulunid Emirate or The State of Banu Tulun, and popularly referred to as the Tulunids () was a Mamluk dynasty of Turkic peoples, Turkic origin who was the first independent dynasty to rule Egypt in the Middle ...
of
Egypt
Egypt ( , ), officially the Arab Republic of Egypt, is a country spanning the Northeast Africa, northeast corner of Africa and Western Asia, southwest corner of Asia via the Sinai Peninsula. It is bordered by the Mediterranean Sea to northe ...
had to be repelled and a revolt of the Berbers put down with much loss of life. In 893 there began amongst the
Kutama
The Kutama (Berber: ''Ikutamen''; ) were a Berber tribe in northern Algeria classified among the Berber confederation of the Bavares. The Kutama are attested much earlier, in the form ''Koidamousii'' by the Greek geographer Ptolemy.
The Kutama p ...
Berbers the movement of the
Isma'ili
Ismailism () is a branch of Shia Islam. The Isma'ili () get their name from their acceptance of Imam Isma'il ibn Jafar as the appointed spiritual successor (Imamate in Nizari doctrine, imām) to Ja'far al-Sadiq, wherein they differ from the ...
Fatimids
The Fatimid Caliphate (; ), also known as the Fatimid Empire, was a caliphate extant from the tenth to the twelfth centuries CE under the rule of the Fatimid dynasty, Fatimids, an Isma'ili Shi'a dynasty. Spanning a large area of North Africa ...
, led by
Abu Abdallah al-Shi'i
Abu Abdallah al-Husayn ibn Ahmad ibn Muhammad ibn Zakariyya, better known as Abu Abdallah al-Shi'i (), was an Isma'ili missionary (''da'i, dāʿī'') active in Yemen and North Africa. He was successful in converting and unifying a large part of th ...
, the ''
dā'ī'' of the future caliph
Abdallah al-Mahdi, although it took almost a decade before they were able to seriously threaten Aghlabid power.
In 902 Ibrahim II became the only Aghlabid emir to personally lead a military campaign in Sicily and the Italian mainland.
While he was away in Sicily, Abu Abdallah struck the first significant blow against Aghlabid authority in North Africa by attacking and capturing the city of
Mila (present-day eastern Algeria). This news triggered a serious response from the Aghlabids, who sent a punitive expedition of 12,000 men from Tunis in October of the same year. Abu Abdallah's forces were forced to flee their base at Tazrut and re-establish themselves at
Ikjan.
Ibrahim II died in October 902 while besieging
Cosenza
Cosenza (; Languages of Calabria#Northern Calabrian (Cosentian), Cosentian: ''Cusenza'', ) is a city located in Calabria, Italy. The city centre has a population of approximately 70,000, while the urban area counts more than 200,000 inhabitants. ...
in Italy and was succeeded by
Abdallah II. On 27 July 903 Abdallah was assassinated and his son
Ziyadat Allah III took power, basing himself in Tunis.
These internal Aghlabid troubles gave Abu Abdallah the opportunity to recapture Mila and then go on to capture
Setif by October or November 904.
Further Aghlabid attempts to crush his movement had little success. In 907, in response to the growing threat, Ziyadat Allah III moved his court back to Raqqada, which he fortified.
Later in 907 the heavily fortified city of
Baghaya, on the southern Roman road between Ifriqiya and the central Maghreb, fell to the Kutama.
This opened a hole in the wider defensive system of Ifriqiya and created panic in Raqqada. Ziyadat Allah III stepped up anti-Fatimid propaganda, recruited volunteers, and took measures to defend the weakly-fortified city of Kairouan.
In 908 he personally led his army in an indecisive battle against the Kutama army near Dar Madyan (probably a site between
Sbeitla
Sbeitla ( ') is a small town in west-central Tunisia. Nearby are the Roman Empire, Roman Archaeological site of Sbeitla, ruins of Sufetula, containing the best preserved Roman forum temples in the country. It was the entry point of the Muslim conqu ...
and
Kasserine
Kasserine (, Tunisian Arabic: ڨصرين ') is the capital city of the Kasserine Governorate, in west-central Tunisia. It is situated below Jebel ech Chambi ( جبل الشعانبي), Tunisia's highest mountain. Its population is 114,463 (2020). ...
), with neither side gaining the upper hand. During the winter of 908-909 Abu Abdallah conquered the region around
Chott el-Jerid. An Aghlabid counterattack against Baghaya failed.
On 25 February 909, Abu Abdallah set out from Ikjan with an army of 200,000 men for a final invasion of Kairouan. The remaining Aghlabid army, led by an Aghlabid prince named Ibrahim Ibn Abi al-Aghlab, met them near
al-Aribus on 18 March. The battle lasted until the afternoon, when a contingent of Kutama horsemen outflanked the Aghlabid army and finally caused a rout.
When news of the defeat reached Raqqada, Ziyadat Allah III packed his valuable treasures and fled towards Egypt. The population of Kairouan looted the abandoned palaces of Raqqada. When Ibn Abi al-Aghlab arrived on the scene after his defeat, he called on the population to mount a last-ditch resistance, but they refused.
On 25 March 909 (Saturday, 1
Rajab 296), Abu Abdallah entered Raqqada and took up residence here. That same year his forces retrieved the Fatimid caliph, Abdallah al-Mahdi, from
Sijilmasa (in the western Maghreb) and brought him to Ifriqiya, thus establishing the Fatimid Caliphate.
Religion
The Aghlabids adhered to the
Mu'tazilite theological movement within
Hanafi
The Hanafi school or Hanafism is the oldest and largest Madhhab, school of Islamic jurisprudence out of the four schools within Sunni Islam. It developed from the teachings of the Faqīh, jurist and theologian Abu Hanifa (), who systemised the ...
Sunni Islam
Sunni Islam is the largest Islamic schools and branches, branch of Islam and the largest religious denomination in the world. It holds that Muhammad did not appoint any Succession to Muhammad, successor and that his closest companion Abu Bakr ...
. The Aghlabids adopted the Mu'tazilite rationalist doctrine after it became the official doctrine of the
Abbasid Caliphate
The Abbasid Caliphate or Abbasid Empire (; ) was the third caliphate to succeed the Islamic prophet Muhammad. It was founded by a dynasty descended from Muhammad's uncle, Abbas ibn Abd al-Muttalib (566–653 CE), from whom the dynasty takes ...
of
Baghdad
Baghdad ( or ; , ) is the capital and List of largest cities of Iraq, largest city of Iraq, located along the Tigris in the central part of the country. With a population exceeding 7 million, it ranks among the List of largest cities in the A ...
during the reign of caliph
Al-Ma'mun
Abū al-ʿAbbās Abd Allāh ibn Hārūn al-Maʾmūn (; 14 September 786 – 9 August 833), better known by his regnal name al-Ma'mun (), was the seventh Abbasid caliph, who reigned from 813 until his death in 833. His leadership was marked by t ...
(813–833). The officialization of this doctrine faced strong opposition from the Maliki majority of Ifriqiya, particularly due to the Mu'tazilite rejection of the orthodox belief that the
Qur'an was God's eternal word and therefore uncreated. Although the Aghlabids recognized the political influence of the
Maliki
The Maliki school or Malikism is one of the four major madhhab, schools of Islamic jurisprudence within Sunni Islam. It was founded by Malik ibn Anas () in the 8th century. In contrast to the Ahl al-Hadith and Ahl al-Ra'y schools of thought, the ...
religious leaders, they were both unable and unwilling to alter their governmental system to align with their beliefs.
The
''qāḍī'' (judge) of Kairouan adhered to the Hanafi school and endorsed the concept of (createdness of the Qur'an). The Aghlabids consistently favored
Iraqis
Iraqis ( ; ) are the citizens and nationals of the Republic of Iraq. The majority of Iraqis are Arabs, with Kurds accounting for the largest ethnic minority, followed by Turkmen. Other ethnic groups from the country include Yazidis, As ...
as their higher-ranking judges, while the
viziers had affiliations with the Maliki school.
Nonetheless, the Aghlabids were able to bolster their religious standing and counter criticisms directed against them. Some Malikis were persecuted for rejecting Mu'tazilite beliefs, such as Sahsun, who suffered persecution during the reign of
Muhammad I ibn al-Aghlab (841–856) for rejecting the Mu'tazilite concept that the Qur'an was created. The Aghlabids also displayed great generosity in their spending on religious buildings, such
Al-Zaytuna Mosque
Al-Zaytuna Mosque, also known as Ez-Zitouna Mosque, and El-Zituna Mosque (, literally meaning ''the Mosque of Olive''), is a major mosque at the center of the Medina of Tunis in Tunis, Tunisia. The mosque is the oldest in the city and covers an a ...
, which they had reconstructed by 864.
As Sunni Muslims, the Aghlabids were vassals of the Abbasid caliphs of Baghdad, representing the influence and presence of the Abbasids throughout Ifriqiya. The Aghlabids maintained strained relations with the
Rustamid dynasty of
Tahert, who adhered to the
Kharijite Ibadi
Ibadism (, ) is a school of Islam concentrated in Oman established from within the Kharijites. The followers of the Ibadi sect are known as the Ibadis or, as they call themselves, The People of Truth and Integrity ().
Ibadism emerged around 6 ...
sect. Their relations with the
Idrisid dynasty of
Fez were always tense, as the Idrisids were
Zaydi
Zaydism () is a branch of Shia Islam that emerged in the eighth century following Zayd ibn Ali's unsuccessful rebellion against the Umayyad Caliphate. Zaydism is one of the three main branches of Shi'ism, with the other two being Twelverism ...
Shi'ites who had expansionist ambitions on the relatively weak Rustamid state. Furthermore, the Aghlabids held a hostile stance towards the
Umayyads in the
Emirate of Cordoba.
Architecture

The Aghlabids were major builders and erected many of the oldest Islamic-era monuments in present-day Tunisia, including military structures like the
Ribat of Sousse and the
Ribat of Monastir, religious buildings like the
Great Mosque of Sousse and the
Great Mosque of Sfax, and practical infrastructure works like the
Aghlabid Reservoirs
The Aghlabid Basins or Aghlabid Reservoirs are a series of historic water Reservoir, reservoirs and hydraulic works in Kairouan, Tunisia. They were built under Aghlabids, Aghlabid rule in the 9th century to supply the city with water.
Historical ...
of Kairouan.
Much of their architecture, even their mosques, had a heavy and almost fortress-like appearance, but they nonetheless left an influential artistic legacy.
One of the most important Aghlabid monuments is the Great Mosque of Kairouan, which was completely rebuilt by the emir Ziyadat Allah I in 836, although various additions and repairs were effected later which complicate the chronology of its construction.
The mosque features an enormous rectangular
courtyard
A courtyard or court is a circumscribed area, often surrounded by a building or complex, that is open to the sky.
Courtyards are common elements in both Western and Eastern building patterns and have been used by both ancient and contemporary a ...
, a large
hypostyle
In architecture, a hypostyle () hall has a roof which is supported by columns.
Etymology
The term ''hypostyle'' comes from the ancient Greek ὑπόστυλος ''hypóstȳlos'' meaning "under columns" (where ὑπό ''hypó'' means below or und ...
prayer hall, and a thick three-story
minaret
A minaret is a type of tower typically built into or adjacent to mosques. Minarets are generally used to project the Muslim call to prayer (''adhan'') from a muezzin, but they also served as landmarks and symbols of Islam's presence. They can h ...
(tower from which the
call to prayer
A call to prayer is a summons for participants of a faith to attend a group worship or to begin a required set of prayers. The call is one of the History of telecommunication, earliest forms of telecommunication, communicating to people across gre ...
was issued). The minaret is the oldest surviving one in North Africa and its shape may have been modeled on existing
Roman lighthouses.
The ''
mihrab
''Mihrab'' (, ', pl. ') is a niche in the wall of a mosque that indicates the ''qibla'', the direction of the Kaaba in Mecca towards which Muslims should face when praying. The wall in which a ''mihrab'' appears is thus the "''qibla'' wall".
...
'' (niche symbolizing the
direction of prayer) of the prayer hall is among the oldest examples of its kind, richly decorated with marble panels carved in high-
relief
Relief is a sculpture, sculptural method in which the sculpted pieces remain attached to a solid background of the same material. The term ''wikt:relief, relief'' is from the Latin verb , to raise (). To create a sculpture in relief is to give ...
vegetal motifs and with ceramic
tiles
Tiles are usually thin, square or rectangular coverings manufactured from hard-wearing material such as ceramic, stone, metal, baked clay, or even glass. They are generally fixed in place in an array to cover roofs, floors, walls, edges, or ot ...
with
overglaze and
luster.
Next to the mihrab is the oldest surviving ''
minbar'' (pulpit) in the world, made of richly-carved
teakwood panels. Both the carved panels of the minbar and the ceramic tiles of the mihrab are believed to be imports from Abbasid
Iraq
Iraq, officially the Republic of Iraq, is a country in West Asia. It is bordered by Saudi Arabia to Iraq–Saudi Arabia border, the south, Turkey to Iraq–Turkey border, the north, Iran to Iran–Iraq border, the east, the Persian Gulf and ...
.
An elegant
dome
A dome () is an architectural element similar to the hollow upper half of a sphere. There is significant overlap with the term cupola, which may also refer to a dome or a structure on top of a dome. The precise definition of a dome has been a m ...
in front of the mihrab wall is an architectural highlight of this period. Its light construction contrasts with the bulky structure of the surrounding mosque and the dome's drum is elaborately decorated with a frieze of
blind arches,
squinches carved in the shape of shells, and carved
low-relief motifs.
The
Mosque of Ibn Khayrun (also known as the "Mosque of the Three Doors") possesses an external façade featuring carved
Kufic
The Kufic script () is a style of Arabic script, that gained prominence early on as a preferred script for Quran transcription and architectural decoration, and it has since become a reference and an archetype for a number of other Arabic scripts ...
inscriptions and
vegetal motifs, which some scholars have called the oldest decorated external façade in
Islamic architecture
Islamic architecture comprises the architectural styles of buildings associated with Islam. It encompasses both Secularity, secular and religious styles from the early history of Islam to the present day. The Muslim world, Islamic world encompasse ...
and which may contain the oldest foundation inscription crediting a private individual (rather than a ruler) for a mosque's construction.
The
al-Zaytuna Mosque
Al-Zaytuna Mosque, also known as Ez-Zitouna Mosque, and El-Zituna Mosque (, literally meaning ''the Mosque of Olive''), is a major mosque at the center of the Medina of Tunis in Tunis, Tunisia. The mosque is the oldest in the city and covers an a ...
in Tunis, which was founded earlier around 698, also owes its overall current form to the Aghlabid emir
Abu Ibrahim Ahmad (r. 856–863).
Aghlabid rulers
*
Ibrahim I ibn al-Aghlab ibn Salim (800–812)
*
Abdallah I ibn Ibrahim (812–817)
*
Ziyadat Allah I ibn Ibrahim (817–838)
*
al-Aghlab Abu Iqal ibn Ibrahim (838–841)
*
Abu 'l-Abbas Muhammad I ibn al-Aghlab Abi Affan (841–856)
*
Ahmad ibn Muhammad al-Aghlabi (856–863)
*
Ziyadat Allah II ibn Abil-Abbas (863)
*
Abu 'l-Gharaniq Muhammad II ibn Ahmad (863–875)
*
Abu Ishaq Ibrahim II ibn Ahmad (875–902)
*
Abu 'l-Abbas Abdallah II ibn Ibrahim (902–903)
*
Abu Mudhar Ziyadat Allah III ibn Abdallah (903–909)
Family tree
See also
*
Battle of Manu
*
History of medieval Tunisia
The medieval era of Tunisia began with what would eventually return Ifriqiya (Tunisia and the entire Maghreb, Maghrib) to local Berbers, Berber rule. The Shia Islamic Fatimid Caliphate departed to their newly conquered territories in Egypt leaving ...
*
History of Islam in southern Italy
*
List of Sunni dynasties
The following is a list of Sunni dynasties.
Asia
Arabian Peninsula
* Ziyadid dynasty (819–1018)
* Banu Wajih (926–965)
* Sulaymanids (1063–1174)
* Mahdids (1159–1174)
* Kathiri (Hadhramaut) (1395–1967)
* Al-Jabriyun (1417–1521)
* ...
*
History of Algeria
*
History of Libya
*
Early Caliphate navy
Notes
Citations
{{Authority control
800 establishments
8th-century establishments in Africa
909 disestablishments
Arab dynasties
Arab–Byzantine wars
States and territories established in the 800s