The Aghlabid dynasty (Arabic: الأغالبة) was an Arab dynasty that ruled Ifriqiya from 800 to 909, nominally as vassals of the Abbasid Caliphate. During this time, they also conquered Sicily, Malta, parts of southern Italy, and possibly Sardinia. The dynasty originated from the tribe of Banu Tamim and was founded by Ibrahim ibn al-Aghlab, who was appointed by the Abbasid caliph in 800 to rule this province.
The Aghlabids adhered to the Mu'tazilite rationalist doctrine within Hanafi Sunni Islam, which they imposed as the state doctrine of Ifriqiya. They sponsored the construction of mosques and civic infrastructure, major examples of which have survived to the present day as some of the oldest Islamic-era monuments in the region. Their rule ended when they were overthrown by the new power of the Fatimids in 909.
History
Independence and consolidation
In 800, the Abbasid Caliph Harun al-Rashid appointed Ibrahim I ibn al-Aghlab, son of a Khurasani Arab commander from the Banu Tamim tribe, as hereditary emir 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 living in Ifriqiya, although the Berbers still constituted the great majority. Most of the Arab immigrants had come from Syria and Iraq, both of which had consistently contributed a significant number of migrants to the Maghreb region from the start.
Ibrahim was to control an area that encompassed what is now eastern Algeria, Tunisia and Tripolitania. The territory granted to Ibrahim was not demarcated, as it theoretically encompassed the entire Maghreb west of Cyrenaica, 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 Hanafis in fiqh), and disliked the unequal treatment of the Muslim Berbers. Additionally, border defenses such as ribats were set up, including in coastal cities like Sousse (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 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 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 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 from Kairouan, was appointed as commander of the Aghlabid forces. The pretense for this invasion was an internal revolt in Byzantine Sicily 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, and the Umayyad Emirate of Córdoba, the Muslims of al-Andalus (in the Iberian Peninsula) 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. 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 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 and Apulia, as well as their attacks on other central Mediterranean 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 was captured in 840 and occupied until 880. Bari was captured by Muslims either in 840 or 847. Rome 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 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. 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 the island of Malta in 870. They also attacked or raided Sardinia and Corsica. 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 religious scholars, 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 and Byzantine 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, a market, and several palaces. For the rest of his life, Ibrahim II resided in a palace called Qasr al-Fath (Arabic: قصر الفتح, lit. 'Palace of Victory'), 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 of Egypt had to be repelled and a revolt of the Berbers put down with much loss of life. In 893 there began amongst the Kutama Berbers the movement of the Isma'ili Fatimids, led by Abu Abdallah al-Shi'i, 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 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 and Kasserine), 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.