على فتح القيروان وخاب سعيه اغتنم ابنه أبو العباس فرصة مغيب والده وقدم من بونة وهو يومئذ عامل عليها إلى تونس ودخل قصبتها على حين غفلة ولما اتصل الناس بخبره بايعوه وسار سيرة حسنة ولما بلغ والده خبره عظم عليه ذلك وبذل مالا جسيما للطاغية فوجه معه أسطولا لنصره ونزل بحلق الوادي ووقع القتال بين المسلمين والنصارى وكانت الدائرة على عسكر الطاغية وأما الحسن فمر بجزيرة شكى فأدركه أبو الهول أحد رؤساء الأعراب وأخذه وأتى به إلى ابنه فاعتقله ثم أذهب بصره ثم فر وهو على تلك الحالة إلى القيروان ومات هناك واستقل ابنه أبو العباس وظهرت كفاءته لولا هرم الدولة ثم قدم للحاضرة علي باشا صاحب الجزائر واستولى عليها وأخذ البيعة للسلطان سليم ورتب حراستها، وأما أبو العباس فإنه فر بما خف من أهله وذخائره إلى حلق الوادي وذلك سنة 977 ه ولبثوا على ذلك ثلاث حجج فالعرب مالكة للضاحية والنصارى للثغور ثم جاء أسطول عظيم من قبل الطاغية بسعي من أبي العباس المذكور ولما وصل أطلعه قائده على كتاب من موجهه ومضمونه يعينه على طلبه بشرط المقاسمة في الحكم والجباية فأنكر ذلك وأنف منه وانتقل إلى بلومو من صقلية وبها توفي ثم حمل إلى مدفنه بزاوية الشيخ الجليزي بالحاضرة. والشرط المذكور قبله أخوه محمد وآل الأمر بعد ذلك إلى دخوله الحاضرة مع العدو وقاسمه الملك مقاسمة الغالب مع المغلوب واشتد الخطب بما آل بالمصائب العظيمة والنوائب الجسيمة على العباد والبلاد من هتك الأستار والعبث بالفساد حتى خرج أهل تونس إلى الجبال والغابات والبوادي ونالهم من الجوع والعطش ما هو مبسوط في كتب التاريخ تقشعر منه الجلود وعاثت عساكر الإسبان في الأرض وربطوا خيولهم بجامع الزيتونة واستباحوا ما به وبالمدراس من الكتب العلمية وألقوها في الطرقات يدوسها العسكر بخيولهم وهذا هو السبب في قلة وجود تآليف الفحول من هذا القطر فإنها ذهبت شذر مذر وفي هاته الواقعة نبشوا قبر ولي الله أبي محفوظ محرز بن خلف وستر الله جسده الكريم فلم يجدوا به إلا التراب إلى غير ذلك مما ينبو عنه السماع ويبكي العيون دما ويذيب القلوب ألما وفعلوا مثل ذلك بالمدائن المهدية والمنستير وغيرهما من المحارس والقصور تخريبا وقتلا وأسرا ومات نحو الثمانين ألفا وأسر مثلها الطاغية المذكور ثم تداركها الله بالتفات السلطنة العثمانية فأنقذتها من مخالب هذا الطاغية في جمادى الأولى سنة 981 ه وهذا الفتح من أهم الفتوحات الإسلامية والمآثر الخالدة في إفريقية لهاته الدولة السنية خلد الله ذكرها وأيد ملكها وفخرها وكان هذا الفتح على يد وزيرها الشائع الصيت المعروف بالفضل والنجدة والشجاعة والثبات والرأي الصائب والفكر
for the conquest of al-Qayrawan, and his effort was frustrated, his son Abu l-ʿAbbas seized the opportunity of his father's absence and came from Buna, where he was governor at the time, to Tunis, and entered its qasaba unawares. When the people learned of him they pledged allegiance to him, and he followed a good course. When the news of him reached his father it weighed heavily on him; he gave a large sum to the tyrant, who sent a fleet with him to support him. He landed at Halq al-Wadi and fighting took place between the Muslims and the Christians, and the defeat fell on the tyrant's army. As for al-Hasan, he passed by the island of Shakki [?], and Abu l-Hawl, one of the chiefs of the Bedouin, caught up with him, took him and brought him to his son, who imprisoned him and then put out his sight; then he fled in that state to al-Qayrawan and died there. His son Abu l-ʿAbbas took sole charge, and his competence would have appeared, were it not for the decrepitude of the state. Then ʿAli Basha, ruler of al-Jazaʾir, came to the capital, seized it, took the oath of allegiance for the sultan Salim and arranged its guard. As for Abu l-ʿAbbas, he fled with whatever of his family and treasures was light to carry to Halq al-Wadi; that was in the year 977 AH. They remained thus for three years, the Arabs holding the countryside and the Christians the ports. Then a great fleet came from the tyrant at the instigation of Abu l-ʿAbbas mentioned; when it arrived its commander showed him a letter from the one who had sent it, whose contents were that he would help him in his aim on condition of sharing in rule and taxes. He rejected that and disdained it, and moved to Balumu in Sicily, where he died; then he was carried to his burial place in the zawiya of Shaykh al-Jalizi in the capital. The said condition was accepted by his brother Muhammad, and the matter afterwards came to his entering the capital with the enemy, who shared the kingdom with him as the victor shares with the vanquished. The calamity grew severe, leading to great misfortunes and grave disasters for the people and the land, of violation of privacy and wanton corruption, until the people of Tunis went out to the mountains, the forests and the deserts, and suffered from hunger and thirst what is set out at length in the books of history, at which the skin creeps. The Spanish soldiers wrought havoc in the land; they tied their horses in the Zaytuna mosque and made free with the books of learning in it and in the madrasas, and threw them into the streets for the soldiers to trample with their horses. This is the reason for the scarcity of the works of the great masters of this region, for they were scattered to the winds. In this event they dug up the grave of God's friend Abu Mahfuz Muhriz ibn Khalaf, and God concealed his noble body, so they found nothing in it but earth; and other things from which hearing recoils, which make the eyes weep blood and melt hearts with pain. They did the like in the cities of al-Mahdiyya, al-Munastir and others among the forts and castles, destroying, killing and capturing; about eighty thousand died and the said tyrant captured as many. Then God rescued it through the attention of the Ottoman sultanate, which saved it from the claws of this tyrant in Jumada l-Ula of the year 981 AH. This conquest is among the most important Islamic conquests and the everlasting glorious deeds in Ifriqiya of this sublime state — may God make its memory everlasting and support its kingdom and its glory. This conquest was at the hands of its vizier of widespread renown, known for excellence, valour, bravery, steadfastness, sound judgement and penetrating