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. The northern zone became part of independent Morocco on 7 April 1956, shortly after France had ceded its protectorate (French Morocco). Spain finally ceded its southern zone through the Treaty of Angra de Cintra on 1 April 1958, after the short Ifni War. The city of Tangiers was excluded from the Spanish protectorate and received a special internationally controlled status.
Since France already held a protectorate over the entire country and controlled Morocco’s foreign affairs (since 30 March 1912), it also held the power to delegate a zone to Spanish protection. The surface area of the zone was about 20,948 km2 (8,088 sq mi), which represents 4.69% of modern-day Morocco.
In a convention dated 27 June 1900, France and Spain agreed to recognize separate zones of influence in Morocco, but did not specify their boundaries. In 1902, France offered Spain all of Morocco north of the Sebu River and south of the Sous River, but Spain declined in the belief that such a division would offend Britain. The British and French, without any Spanish insistence, declared Spain’s right to a zone of influence in Morocco in Article 8 of the Entente cordiale of 8 April 1904:
The two Governments, inspired by their feeling of sincere friendship for Spain, take into special consideration the interests which that country derives from her geographical position and from her territorial possessions on the Moorish coast of the Mediterranean. In regard to these interests the French Government will come to an understanding with the Spanish Government. The agreement which may be come to on the subject between France and Spain shall be communicated to His Britannic Majesty’s Government.
What exactly “special consideration” meant was dealt with in the secret third and fourth articles, specifying that Spain would be required to recognise Articles 4 and 7 of the treaty but could decline the “special consideration” if she wished:
The two Governments agree that a certain extent of Moorish territory adjacent to Melilla, Ceuta, and other presides should, whenever the Sultan ceases to exercise authority over it, come within the sphere of influence of Spain, and that the administration of the coast from Melilla as far as, but not including, the heights on the right bank of the Sebou shall be entrusted to Spain.
The British goal in these negotiations with France was to ensure that a weaker power (Spain) held the strategic coast opposite Gibraltar in return for Britain ceding all interest in Morocco. France began negotiating with Spain at once, but the offer of 1902 was no longer on the table. Since France had given up her ambitions in Ottoman Libya in a convention with Italy in 1903, she felt entitled to a greater share of Morocco. On 3 October 1904, France and Spain concluded a treaty that defined their precise zones. Spain received a zone of influence consisting of a northern strip of territory and a southern strip. The northern strip did not reach to the border of French Algeria, nor did it include Tangier, soon to be internationalized. The southern strip represented the southernmost part of Morocco as recognized by the European powers: the territory to its south, Saguia el-Hamra, was recognized by France as an exclusively Spanish zone. The treaty also recognized the Spanish enclave of Ifni and delimited its borders.
In March 1905, the German Kaiser, Wilhelm II, visited Tangier, a city of international character in northern Morocco. There he loudly touted Germany’s economic interests in Morocco and assured the sultan of financial assistance in the event of a threat to Moroccan independence. At Wilhelm’s urging, Sultan Abd el Aziz called for an international conference. The final act of the Algeciras Conference (7 April 1906) created the State Bank of Morocco, guaranteed the attending powers equal commercial rights in Morocco and created a native Moroccan police force led by French and Spanish officers.
The final Spanish zone of influence consisted of a northern strip and a southern strip centred on Cape Juby. The consideration of the southern strip as part of the protectorate back in 1912 eventually gave Morocco a solid legal claim to the territory in the 1950s. While the sparsely populated Cape Juby was administered as a single entity with Spanish Sahara, the northern territories were administered, separately, as a Spanish protectorate with its capital at Tetuán.
The Protectorate system was established in 1912. The Islamic legal system of qadis was formally maintained.
Following the First World War, the Republic of the Rif, led by the guerrilla leader Abd el-Krim, was a breakaway state that existed from 1921 to 1926 in the Rif region, when it was subdued and dissolved by a joint expedition of the Spanish Army of Africa and French forces during the Rif War.
The Spanish lost more than 13,000 soldiers at Annual in July–August 1921. Controversy in Spain over the early conduct in the war was a driving factor behind the military coup by General Miguel Primo de Rivera in 1923 which foreshadowed the Spanish Civil War of 1936–39.
After the successful 1925 Alhucemas landing, the French–Spanish alliance ended up achieving victory and putting an end to the war.
Second Spanish Republic
Before 1934, the southern part of the protectorate (Tekna) was governed from Cape Juby (within the same southern strip) since 1912; Cape Juby was also head of Spanish West Africa. Then, in 1934, the southern part began to being managed directly from Tetuán (in the northern part of the protectorate) and the seat of Spanish West Africa was moved from Cape Juby to the territory of Ifni (not a part of the protectorate), which had been occupied by the Spaniards that year.
Spanish Civil War
The Spanish Civil War started in 1936 with the partially successful coup against the Republican Government, which began in Spanish Morocco by an uprising of the Spanish Army of Africa stationed there, although, within a day, uprisings in Spain itself broke out. This force, which included a considerable number of Moroccan troops (regulares), was under the command of Francisco Franco (who spent much time in Morocco) and became the core of the Spanish Nationalist Army. The Communist Party of Spain and Workers’ Party of Marxist Unification (POUM), advocated anti-colonial policies, and pressured the Republican government to support the independence of Spanish Morocco, intending to create a rebellion at Franco’s back and cause disaffection among his Moroccan troops. The government — then led by the Spanish Socialist Workers’ Party (PSOE) — rejected that course of action as it would have likely resulted in conflict with France, the colonial ruler of the other portion of Morocco.
Because the locally recruited Muslim regulares had been among Franco’s most effective troops, the protectorate enjoyed more political freedom and autonomy than Francoist Spain-proper after Franco’s victory. The area held competing for political parties and a Moroccan nationalist press, which often criticized the Spanish government.
World War II
Retrocession to Morocco
In 1956, when France ended its protectorate over Morocco, Spain discontinued the protectorate and retroceded the territory to the newly independent kingdom, while retaining the plazas de soberanía which were part of Spain prior to the colonial period, Cape Juby, Ifni, and other colonies (such as Spanish Sahara) outside of Morocco. Unwilling to accept this, the Moroccan Army of Liberation waged war against the Spanish forces. In the 1958 Ifni War, which spread from Sidi Ifni to Río de Oro, Morocco gained Tarfaya (the southern part of the protectorate) and reduced the Spanish control of the Ifni territory to the perimeter of the city itself. In 1969, through negotiation, Morocco obtained Ifni as well.
As of 2018, Morocco still claims Ceuta and Melilla as integral parts of the country, and considers them to be under foreign occupation, comparing their status to that of Gibraltar. Spain considers both cities integral parts of the Spanish geography, since they were part of Spain for centuries before the Spanish colonial occupation of Morocco.
The iron mines in the Rif were one of the sources of income. Their exploitation led to an economic boom in Melilla.
After the Treaty of Algeciras signed in April 1906, where the northern part of Morocco was placed under Spanish administration, the Spanish started to develop this mineral-rich area, and numerous narrow gauge railways were built.