Topic summary
French protectorate in Morocco

The French protectorate in Morocco (French: Protectorat français au Maroc; Arabic: الحماية الفرنسية في المغرب), also known as French Morocco (French: Maroc français), was the period of French colonial rule in Morocco that lasted from 1912 to 1956. The protectorate was officially established 30 March 1912, when SultanAbd al-Hafid signed the Treaty of Fez, though the French military occupation had begun with the invasion of Oujda and the bombardment of Casablanca in 1907.
The protectorate lasted until after World War II with the dissolution of the Treaty of Fez on 2 March 1956, with the Franco-Moroccan Joint Declaration. Morocco's independence movement, described in Moroccan historiography as the Revolution of the King and the People, restored the exiled Mohammed V but it did not end the French presence in Morocco. France preserved its influence in the country, including a right to station French troops and to have a say in Morocco's foreign policy. French settlers also maintained their rights and property.
While the agreements with France had provided for interdependent foreign relations, Franco-Moroccan relations quickly worsened following Mohammed V's outspoken support for Algerian independence including at the United Nations. The number of French settlers declined constantly, especially after their agricultural holdings were nationalized. Relations improved once the last French troops left Morocco in November 1961, with France remaining Morocco's main trading partner.
The French protectorate existed alongside the Spanish protectorate, which was established and dissolved in the same years; its borders consisted of the area of Morocco between the Corridor of Taza and the Draa River, including sparse tribal lands.