section_path: History/French and Spanish protectorates
section_name: French and Spanish protectorates
paragraph_text: French and Spanish protectorates
  
  As Europe industrialised, Northwest Africa was increasingly prized for its potential for colonisation. France showed a strong interest in Morocco as early as 1830, not only to protect the border of its Algerian territory, but also because of the strategic position of Morocco with coasts on the Mediterranean and the open Atlantic. In 1860, a dispute over Spain's Ceuta enclave led Spain to declare war. Victorious Spain won a further enclave and an enlarged Ceuta in the settlement. In 1884, Spain created a protectorate in the coastal areas of Morocco.
  
  In 1904, France and Spain carved out zones of influence in Morocco. Recognition by the United Kingdom of France's sphere of influence provoked a strong reaction from the German Empire; and a crisis loomed in 1905. The matter was resolved at the Algeciras Conference in 1906. The Agadir Crisis of 1911 increased tensions between European powers. The 1912 Treaty of Fez made Morocco a protectorate of France, and triggered the 1912 Fez riots. Spain continued to operate its coastal protectorate. By the same treaty, Spain assumed the role of protecting power over the northern coastal and southern Saharan zones.
  
  Tens of thousands of colonists entered Morocco. Some bought up large amounts of rich agricultural land, while others organised the exploitation and modernisation of mines and harbours. Interest groups that formed among these elements continually pressured France to increase its control over Morocco – with some Moroccan tribes allying with the French against other competing tribes from early on in its conquest. The French colonial administrator, Governor general Marshal Hubert Lyautey, sincerely admired Moroccan culture and succeeded in imposing a joint Moroccan-French administration, while creating a modern school system. Several divisions of Moroccan soldiers (Goumiers or regular troops and officers) served in the French army in both World War I and World War II, and in the Spanish Nationalist Army in the Spanish Civil War and after (Regulares). The institution of slavery was abolished in 1925.
  
  Between 1921 and 1926, an uprising in the Rif Mountains, led by Abd el-Krim, led to the establishment of the Republic of the Rif. The Spanish used anti-civilian bombing raids and mustard gas to prevent the Rif republic from gaining independence. They lost more than 13,000 soldiers at Annual in July–August 1921 alone. The Riffi were eventually suppressed by 1927 by the Franco-Spanish military. The casualties on the Spanish-French side were 52,000 and from the Riffi 10,000 died.
  
  In 1943, the Istiqlal Party (Independence Party) was founded to press for independence, with discreet US support. Moroccan nationalists drew heavily on transnational activist networks for lobbying to end colonial rule, primarily at the United Nations. The Istiqlal Party subsequently provided most of the leadership for the nationalist movement.
  
  France's exile of Sultan Mohammed V in 1953 to Madagascar and his replacement by the unpopular Mohammed Ben Aarafa sparked active opposition to the French and Spanish protectorates. The most notable violence occurred in Oujda where Moroccans attacked French and other European residents in the streets. France allowed Mohammed V to return in 1955, and the negotiations that led to Moroccan independence began the following year. In March 1956 Morocco regained its independence from France as the Kingdom of Morocco. A month later Spain forsook its protectorate in Northern Morocco to the new state but kept its two coastal enclaves (Ceuta and Melilla) on the Mediterranean coast which dated from earlier conquests, but over which Morocco still claims sovereignty to this day.