وفي المعجب كانت القيروان دار ملك المسلمين بإفريقية منذ الفتح لم يزل الخلفاء من بني أمية وبني العباس يولون عليهم الأمراء من قبلهم إلى أن اضطرب أمر بني العباس واستبد الأغالبة بملك إفريقية بعض الاستبداد فاتخذوا القيروان دار ملكهم فلم يزالوا بها إلى أن أخرجهم عنه ابن وعبيد وملوكها ثم ولوا عليها حين ارتحلوا زيري بن مناد الصنهاجي فلم يزل زيري وبنوه ملوكا عليها إلى أن كان
In al-Muʿjib: al-Qayrawan was the seat of the kingdom of the Muslims in Ifriqiya from the conquest. The caliphs of the Banu Umayya and the Banu l-ʿAbbas continued to appoint emirs over them on their behalf, until the affair of the Banu l-ʿAbbas became disordered and the Aghlabids made themselves somewhat independent in the rule of Ifriqiya and took al-Qayrawan as the seat of their kingdom. They remained there until the Banu ʿUbayd [?] and its kings [?] drove them out of it. Then, when they departed, they appointed over it Ziri ibn Manad al-Sanhaji, and Ziri and his sons continued as kings over it until