لما تخلى المولى علي باشا عن الملك لابنه حمودة بايعه أهل الحل والعقد في التاريخ المذكور فاستقام أمره ورسخت قدمه وكان والده بلغ الغاية في تربيته وتهذيبه وتأهيله للإمارة على يد فحول من علماء دولته عارفين بالرياسة والسياسة منهم وزيره حمودة بن عبد العزيز فنشأ في دوحة الإمارة شهما ورمى في كل غرض من أغراضه سهما فكان في سلسلة الجيد الحسيني واسطة عقد ودرة يتيمة ذا همة باذخة وحال شامخة حازما حاميا للذمار غير متحمل للعار خبيرا بسياسة البلاد نصوحا لها حسن التدبير محبا للعلماء والصالحين يباشر المهمات بنفسه مقتصدا في شخصياته حافظا لأموال المسلمين عن غير مصالحهم لا تأخذه في الله لومة لائم وحارب البلنسيان سنة 1204ه ثم انفصل معهم على صلح وأرسل وزيره يوسف صاحب الطابع إلى دار الخلافة فأحكم وصلته معها سنة 1210ه وفي سنة 1218ه لما كانت مجاعة كبرى بإفريقية وجه العالم الطائر الصيت الشيخ إبراهيم الرياحي لحاضرة فاس بمكتوب إلى سلطانها الشريف المولى سليمان في استمداد الميرة فأعظم السلطان مقدمه وأمده بمطلبه. وتقدمت الإشارة إلى ذلك في ترجمة هذا الشيخ وكانت له حروب مع الجزائريين آلت بانهزام جيشه، ولما بلغه خبر الهزيمة هاله الأمر فنهض رجال دولته كالوزير يوسف صاحب الطابع ومن تابعه من الوجوه كالهمام محمد الجلولي وهونوا عليه الخطب وجهزوا في الحين من أموالهم محالا أخرى وخرجت تلك الأمحال لنظر وزيرهم المذكور في احتفال مشهود في أفخم شارة وأحسن زي والتقى بجيش الجزائريين وبعد قتال انتصر هذا الوزير واستولى على محلتهم بما حوت من الذخائر والنفائس ورجع مؤيدا منصورا غانما في ربيع الأنور سنة 1222ه وزينت البلاد وتوالت الأفراح ومن ذلك اليوم نزعت البلاد أطمار مهانة الجزائريين ولبست ثياب العز وأصبحت رافلة في جلابيب أمنها وهو
When al-Mawla ʿAli Basha gave up the kingship to his son Hammuda, the people of loosing and binding pledged allegiance to him at the date mentioned; his affair became settled and his foothold firm. His father had gone to the utmost in his upbringing, education and preparation for rule, at the hands of great scholars of his state versed in leadership and statecraft, among them his vizier Hammuda ibn ʿAbd al-ʿAziz. So he grew up in the great tree of rule, high-minded, and shot an arrow at every one of its aims. He was, in the Husaynid necklace, the central gem and the unique pearl: of lofty ambition and exalted state, resolute, a defender of what must be defended, not bearing disgrace, expert in governing the land, sincere towards it, good in management, a lover of scholars and the righteous, undertaking important matters himself, frugal in his personal affairs, guarding the wealth of the Muslims from what was not in their interests, not taking, in God's cause, the blame of any blamer. He fought al-Balansiyan [?] in the year 1204 AH, then parted from them on peace. He sent his vizier Yusuf Sahib al-Tabiʿ to the seat of the caliphate and made his connection with it firm, in the year 1210 AH. In the year 1218 AH, when there was a great famine in Ifriqiya, he sent the scholar of widespread renown Shaykh Ibrahim al-Riyahi to the capital Fez with a letter to its sultan, the Sharif al-Mawla Sulayman, seeking supplies of provisions; the sultan made much of his arrival and granted him his request. This has been pointed to before in the biography of this shaykh. He had wars with the Algerians which ended in the defeat of his army. When the news of the defeat reached him the matter alarmed him; the men of his state, such as the vizier Yusuf Sahib al-Tabiʿ, and the notables who followed him, such as the valiant Muhammad al-Jalluli, rose up and made light of the calamity for him, and at once equipped other camps from their own wealth; those camps went out under the command of their vizier mentioned, in a memorable ceremony, in the most splendid array and finest dress. He met the army of the Algerians, and after fighting this vizier was victorious, seized their camp with the supplies and precious things it contained, and returned supported, victorious and laden with booty, in Rabiʿ al-Anwar of the year 1222 AH. The land was decorated and the festivities followed one another. From that day the land threw off the rags of humiliation by the Algerians and put on the garments of might, and became strutting in the robes of its security. And he