لما توفي أبو عقال المتقدم الذكر بويع لأخيه أبي العباس محمد وكان مظفرا في حروبه، وله وقائع مع بعض آل بيته. ومن فضائله ولاية سحنون القضاء؛ راوده حولا كاملا على أن يوليه القضاء فأبى، ثم عزم عليه بالأيمان التي لا يخرج منها فلما رأى ذلك سحنون اشترط عليه شروطا منها أنه قال له: إني أبدأ بآل بيتك وأعوانك فإن قبلهم حقوقا للناس منذ زمان طويل ومنها أن آل الأغلب إذا طلبهم أحد يحضرون بأنفسهم في مجلس الحكم ولا يوكلون غيرهم لما يرون في ذلك من الردع لهم لأن الأنفة تمنعهم ذلك فلا يقع منهم التعدي ولا حجر الحقوق. وباشر بنفسه خطة الحسبة مع القضاء. رحل لمصر سنة 188ه وقرأ الأسدية على ابن القاسم. وفي الديباج: لما ولي القضاء دخل على ابنته خديجة- وكانت من خيار النساء- وقال لها: اليوم ذبح أبوك من غير سكين. فبذلك علم الناس أنه قبل القضاء. انتهى وناهيك من قوم قاضيهم مثل الإمام الذي لم يقبل القضاء إلا بشروط وناهيك بذلك الأمير الذي وفي له بتلك الشروط وتوفي هذا الأمير سنة 242ه وبويع لابن أخيه أبي إبراهيم أحمد بن محمد وكان فاضلا عادلا حسن السيرة كثير الصدقات رفيقا بالرعية وكانت في أيامه وقائع بصقلية أكثرها للمسلمين، وله مآثر خالدة منها التوسعة في جامعي القيروان وتونس، وتوفي سنة 245 ه وهو ابن ثمان وعشرين سنة وبويع لزيادة الله بن أحمد بن محمد وكان فاضلا عاقلا حسن لسيرة شجاعا جميل الأفعال. كان سليمان بن عمران القاضي يقول: ما ولي من بني الأغلب أعقل من زيادة الله هذا، وتوفي سنة 250 ه وبويع لأخيه محمد بن أحمد المعروف بأبي الغرانيق لشغفه بصيدها وكان يغلب عليه اللهو وكانت في أيامه حروب عظيمة وكان فتح جزيرة مالطة على يده سنة 255 ه وأسر ملكها وتوفي سنة 261 ه وبويع لأخيه إبراهيم بن أحمد وكان عادلا حميد السيرة وفي أيامه كان فتح سرقوسة، ثم ساءت سيرته وأفتك بكثير من إخوته وبناته وآل بيته وجواريه وخدمه في أخبار تذوب منها الأكباد وتقشعر منها الجلود وكانت أفعاله السيئة أحد الأسباب في ضعف هاته الدولة المؤدن بزوالها ثم أظهر التوبة وأقلع عما كان عليه واستنفر الناس للجهاد ووسع على المقاتلة وفرق الأموال وخرج من سوسة إلى صقلية وهو أمير الجيش سنة 284 ه فسبى وغنم ودخل بليرمو وبها توفي سنة 289 ه في ذي القعدة بعلة أصابته ودفن هناك، وقيل: نقل للقيروان وبويع لابنه أبي العباس عبد الله وكان شجاعا ثبتا ذا بصر بالحروب أديبا عاقلا حسن السيرة وله وقائع في صقلية مشهورة
When the above-mentioned Abu ʿIqal died, allegiance was given to his brother Abu l-ʿAbbas Muhammad. He was victorious in his wars, and he had battles with some of his own house. Among his merits was the appointment of Sahnun to the judgeship: he pressed him for a whole year to let himself be appointed to the judgeship, and he refused; then he bound him with oaths from which he could not escape. When Sahnun saw that, he laid down conditions for him, among them that he said to him: “I shall begin with your family and your aides, for they have owed people rights for a long time”; and among them that the family of al-Aghlab, if anyone summoned them, should appear in person at the court session and not appoint others as their agents, because of what they saw in that of restraint for them, since pride keeps them from that, so that no transgression and no withholding of rights would occur from them. He took charge himself of the office of the hisba together with the judgeship. He had travelled to Egypt in the year 188 AH and read the Asadiyya with Ibn al-Qasim. In the Dibaj: when he was appointed to the judgeship he went in to his daughter Khadija, who was among the best of women, and said to her: “Today your father has been slaughtered without a knife.” By that people knew that he had accepted the judgeship. End. How excellent a people whose qadi was the like of the imam who did not accept the judgeship except on conditions, and how excellent that emir who fulfilled those conditions for him! This emir died in the year 242 AH, and allegiance was given to his brother's son Abu Ibrahim Ahmad ibn Muhammad. He was virtuous, just, of good conduct, much given to alms and gentle with his subjects. In his days there were battles in Siqilliya, most of them in the Muslims' favour. He has lasting monuments, among them the enlargement of the two congregational mosques of al-Qayrawan and Tunis. He died in the year 245 AH at the age of twenty-eight, and allegiance was given to Ziyadat Allah ibn Ahmad ibn Muhammad. He was virtuous, intelligent, of good conduct, brave and of fine deeds. Sulayman ibn ʿImran the qadi used to say: “None of the Banu l-Aghlab who ruled was more intelligent than this Ziyadat Allah.” He died in the year 250 AH, and allegiance was given to his brother Muhammad ibn Ahmad, known as Abu l-Gharaniq because of his passion for hunting cranes. Amusement prevailed in him. In his days there were great wars, and the conquest of the island of Malta was achieved at his hands in the year 255 AH, and its king was taken captive. He died in the year 261 AH, and allegiance was given to his brother Ibrahim ibn Ahmad. He was just and of praiseworthy conduct, and in his days Saraqusa was conquered. Then his conduct became bad, and he slaughtered many of his brothers, his daughters, his household, his slave-girls and his servants, in reports from which livers melt and skins shudder; his evil deeds were one of the causes of the weakness of this dynasty that heralded its end. Then he showed repentance and gave up what he had been doing, called people to arms for jihad, was generous to the fighters and distributed money. He went out from Susa to Siqilliya as commander of the army in the year 284 AH; he took captives and booty and entered Balirmu, and there he died in the year 289 AH, in Dhu l-Qaʿda, of an illness that struck him, and was buried there; it is also said that he was carried to al-Qayrawan. Allegiance was given to his son Abu l-ʿAbbas ʿAbd Allah. He was brave, steadfast, with insight into wars, a man of letters, intelligent and of good conduct, and he had famous battles in Siqilliya