Spanish protectorate in Morocco
The Spanish Protectorate in Morocco was established on 27 November 1912 by a treaty between France and Spain that converted the Spanish sphere of influence in Morocco into a formal protectorate. The Spanish protectorate consisted of a northern strip on the Mediterranean and the Strait of Gibraltar, and a southern part of the protectorate around Cape Juby, bordering the Spanish Sahara.
Source: Wikipedia — Spanish protectorate in Morocco (CC BY-SA 4.0)