Aghlabids dynasty
Kairouan, TunisiaIn 800, the Abbasid Caliph Harun al-Rashid appointed Ibrahim I ibn al-Aghlab, son of a Khurasanian Arab commander from the Banu Tamim tribe, as hereditary Emir of Ifriqiya as a 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. Ibrahim was to control an area that encompassed eastern Algeria, Tunisia and Tripolitania. Although independent in all but name, his dynasty never ceased to recognise Abbasid overlordship. The Aghlabids paid an annual tribute to the Abbasid Caliph and their suzerainty was referenced in the khutba at Friday prayers.