Mohammed ben Abdallah

He rebuilt many cities after the earthquake of 1755, including Mogador, Casablanca, and Rabat, and Abdallah Laroui described him as "the architect of modern Morocco.

He also pacified the Berbers of the mountains who attacked the plains during the succession crisis, while the power of the 'Abid declined as they abandoned their military positions.

The Black Guard resisted him and attempted to proclaim his son Yazid as sultan, but the latter soon changed his mind and was reconciled with his father.

After, Sidi Mohammed dispersed the Black Guard contingents to garrisons in Tangier, Larache, Rabat, Marrakesh and the Sous, where they continued to cause trouble until 1782.

These disturbances were compounded by drought and severe famine between 1776 and 1782 and an outbreak of plague between 1779 and 1780, which killed many Moroccans and forced the sultan to import wheat, reduce taxes, and distribute food and funds to locals and tribal leaders in order to alleviate the suffering.

[11] On 25 June 1765, a French fleet of 16 warships and several vessels arrived in front of Larache,[12] however due to heavy seas and conditions, the attack was delayed until the next day.

[17] In 1769, threatened by an invasion by Sidi Mohammed, the Portuguese governor of Mazagan received orders from Lisbon to immediately evacuate the city.

[22] With Britain's promise of subsidies, two Spanish squads blocked the Strait of Gibraltar to prevent any British support from aiding the Moroccan troops.

[20]General Sherlock of the Ultonia Regiment began to break the siege, a situation exacerbated by the desertion of Sidi Mohammed's Algerine mercenaries.

[24] It was signed first by American diplomat Thomas Barclay and the sultan, then by Jefferson and Adams, and was ratified by the Congress of the Confederation in July 1787.

[42] Rabat was also built to become an imperial city during Sidi Mohammed's reign, including the Dar al-Makhzen palace and the As-Sunna Mosque even though both have been much altered since then.

[2] Mohammed bin Abdallah died on 9 April 1790 in Meknes,[43] and was buried in a small qubba near the Dar al-Makhzen of Rabat.

Coins of Sidi Mohammed bin Abdallah, 1760–67 ( Hijra 1182–1189), minted in Essaouira .
Kinsbergen negotiating the treaty with Mohammed III to end the Dutch-Moroccan War (19th-century illustration)
Letter of George Washington to Mohammed bin Abdallah in appreciation of the Treaty of Peace and Friendship, signed in Marrakech in 1787.
Moroccan–American Treaty of Friendship (Treaty of Marrakesh), 1786
Mohammed bin Abdallah employed the French architect Théodore Cornut to build the model city of Essaouira .