الأمة بالمال الكثير وعرضت في مدته محاربات فاز فيها بالظفر ووقعت بينه وبين دولة فرنسا وحشة آلت إلى صلح، وفي سنة 1159ه قدم الإخوة أبناء الأمير حسين من الجزائر ومعهم محلة أميرها باي قسنطينة إلى الكاف وامتدت أعناق الآمال إلى الإسعاف ووافتهم نجوع العرب بالمدد وبالرجال والعدد لولا ما غدر به أمير المحلة فردها بدون كبير قتال وغره في ذلك ما وصله من المال وتفرقت جموع الحاشدين وأسفوا من شماتة الحاسدين ومات من شدة الأسف أحد أبناء الأمير محمود وكان بطلا مقداما شهما هماما ثم تفرقت كلمة أبناء علي باشا بسبب الحسد وأدت هاته التفرقة إلى حصول وحشة بين الأمير يونس ووالده وبسبب ذلك باشر لسعي بنفسه بمعاضدة ابنه سليمان ويونس نبذ بالعراء ثم قام على أبيه وانقسم الناس إلى قسمين قسم مع الباشا وقسم مع ابنه يونس وقامت الحرب على ساق داخل الحاضرة وصوبت المدافع على الدور والمساجد والجوامع ونال الناس الرعب من كور المدافع وأصابت قنبلة سارية من سواري جامع الزيتونة وعظم الخطب وآل الأمر إلى انخذال يونس وفراره إلى قسنطينة ثم إن ثالث الإخوة محمد فوق سهمه لأخيه سليمان لما خشي من وراثته الملك بعد أبيه لما يرى لأبيه من إيثاره عليه لما فيه من الأهلية فعاجله بالإطعام فمرض أسبوعا وفاضت نفسه على حين لم يكن والده متوقعا ذلك فتوفي مسموما سنة 1168ه وأعلم أبوه بصنيعه بأخيه وتحقق أن الله أذاقه بأس ولده محمد لإعدامه لعضدي نصرته يونس بالفرار وسليمان بالممات وكان ذلك من مبادئ انتقام الله منه والله عزيز ذو انتقام ولازمه الأسف. وهذا الباشا كان مع سفكه للدماء وامتهانه للخاصة وإضراره للمملكة بمظالمه معدودا من العلماء وله شرح مهم على تسهيل ابن مالك ويقال إن شيخه أبا عبد الله الخضراوي كانت له يد في تأليفه وقرظه علماء عصره منهم أبو الحسن علي البارع بقوله:
the community much money. In his time there arose wars in which he won victory, and there arose between him and the state of France an estrangement that ended in peace. In the year 1159 AH the brothers, the sons of the amir Husayn, came from al-Jazaʾir to al-Kaf, and with them a camp whose commander was the Bay of Qusantina; the necks of hopes stretched out towards success, and the groups of the Arabs reached them with reinforcements of men and equipment — were it not that the commander of the camp betrayed them and turned it back without much fighting, deceived in that by the money that reached him. The hosts of those rallying dispersed and they grieved at the gloating of the envious, and one of the amir's sons, Mahmud, died of the intensity of grief; he was a bold hero, high-minded and valiant. Then the word of ʿAli Basha's sons became divided because of envy, and this division led to estrangement between the amir Yunus and his father. Because of that he undertook the effort himself with the support of his son Sulayman, and Yunus was cast aside. Then he rose against his father, and the people were divided into two parties, a party with the Basha and a party with his son Yunus; war raged in earnest inside the capital, cannons were aimed at houses, mosques and Friday mosques, people were terrified by the cannon balls, and a shell hit one of the columns of the Zaytuna mosque. The calamity was grave, and the matter ended in Yunus's defeat and flight to Qusantina. Then the third of the brothers, Muhammad, aimed his arrow at his brother Sulayman, when he feared that he would inherit the kingdom after his father, seeing his father's preference for him because of his fitness; he forestalled him by feeding him, so he was ill for a week and his soul departed, while his father had not expected that; he died poisoned in the year 1168 AH. His father was informed of what he had done to his brother, and was sure that God had made him taste the violence of his son Muhammad by depriving him of the two arms of his support, Yunus by flight and Sulayman by death. That was among the beginnings of God's vengeance on him — and God is Mighty, Lord of vengeance — and grief clung to him. This Basha, despite his shedding of blood, his humiliation of the elite and his harming the kingdom by his injustices, was counted among the scholars; he has an important commentary on the Tashil of Ibn Malik — it is said that his teacher Abu ʿAbd Allah al-Khadrawi had a hand in its composition — and the scholars of his time praised it, among them Abu l-Hasan ʿAli al-Bariʿ, with his words: