French conquest of Morocco
The French conquest of Morocco[a] began with the French Republic occupying the city of Oujda in 29 March 1907. The French launched campaigns against the Sultanate of Morocco which culminated in the signing of the Treaty of Fes and establishment of the French Protectorate in Morocco on 30 March 1912. France later concluded, on the 27th November, the Treaty of Madrid with the Kingdom of Spain which established the Spanish protectorate in Morocco. The French still conducted a series of military operations to pacify rebellions in Morocco until 1934.
War against the sultanate[edit]
Occupation of Oujda (1907)[edit]
The assassination of the French physician Émile Mauchamp, who was chosen by decree of the minister of foreign affairs to go from Jerusalem to Morocco and run a pharmacy and suspected of conspiring to lay the groundwork for French takeover of Morocco, in Marrakesh on 19 March 1907 led to Hubert Lyautey sending soldiers across the border to occupy the important town of Oujda on March 29.[22][23]