Ibrahim I ibn al-Aghlab (Arabic: إبراهيم ابن الأغلب; 756–812) was the first Emir of the Ifriqiya from Aghlabid family (800–812).
[1] From that position he played a leading role in the suppression of a revolt against the Abbasid governor of Ifriqya, Muhammad ibn Muqatil al-Akki.
[2] As a reward, on 9 July 800 Caliph Harun al-Rashid recognized him as emir of Ifriqiya, and bestowed virtually complete independence in exchange for an annual payment of 40,000 gold dinars to the Abbasid treasury.
[3] Domestically, Ibrahim and his successors faced constant opposition from the Arab settler community (jund) in Tunis and Kairouan, which was jealous of their prerogatives and oppressed the native population.
[3] As a result, Ibrahim established the palace city of al-Abbasiyya (or al-Qasr al-Qadim), just south of Kairouan, and imported a large number of black African slave soldiers to lessen his dependence on the jund.