Aghlabid dynasty

Gallery
In depth
From Wikipedia, CC BY-SAThe 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.
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.