Francisco Franco with fellow soldiers in Ras Medua, 1921.
Territory under the control of the Republic of the Rif (bordered in red) within Spanish Morocco.
Colonial administrators in Morocco were confronted with a major armed uprising that targeted both Spanish and French rule. Between 1921 and 1926, the Rif War posed the greatest challenge yet to European colonialism in the Arab world.
France was given the green light by the European powers to add Morocco to its North African possessions in 1912. The Moroccan sultan, Moulay Abd al-Hafiz (r. 1907–1912), signed the Treaty of Fez in March 1912, preserving his family’s rule in Morocco but conceding most of his country’s sovereignty to France under a colonial arrangement known as a protectorate. In principle this meant that France would protect the government of Morocco from outside threats, though in practice France ruled absolutely, if indirectly, through the sultan and his ministers.
The first thing the French failed to protect was Morocco’s territorial integrity. Spain had imperial interests in Morocco dating back to the sixteenth century, its coastal fortresses having long since evolved into colonial enclaves (Ceuta and Melilla remain under Spanish rule to the present day, fossils of an extinct empire). France had to negotiate a treaty with Spain setting out their respective “rights” in Morocco, a process concluded in November 1912 with the signing of the Treaty of Madrid. Under the terms of the treaty, Spain claimed a protectorate over the northern and southern extremities of Morocco. The northern zone comprised some 20,000 square kilometers (8,000 square miles) of the Atlantic and Mediterranean coastline and hinterlands, and the southern zone covered 23,000 square kilometers (9,200 square miles) of desert that came to be known as Spanish Sahara or Western Sahara. In addition, the port city of Tangier in the Strait of Gibraltar was placed under international control. After 1912 the Moroccan sultan ruled a very truncated state.
Though Morocco had enjoyed centuries of independent statehood before becoming a protectorate, its rulers had never succeeded in extending their authority over the whole of their national territory. The sultan’s control had always been strongest in the cities and weakest in the countryside. This situation was only exacerbated when Morocco came under imperial rule. Soldiers mutinied, many returning to their tribes to foment rural rebellion. The Moroccan countryside was in turmoil when the first French governor arrived to take up his post in May 1912.
Louis Hubert Gonzalve Lyautey (November 17, 1854 – July 27, 1934) was a French general, Marshall of France, the first Resident-General in Morocco.
During his thirteen-year tenure in Morocco, Marshal Hubert Lyautey (1854–1934) would prove to be one of the great innovators of imperial administration. He arrived in Fez the day before a massive attack on the city by mutinous soldiers and their tribal supporters. He saw firsthand the limits of what French diplomats had achieved in securing European consent for French rule in Morocco.
Though trained as a military man, Lyautey did not wish to repeat the mistakes made in Algeria, where hundreds of thousands of Algerians and Frenchmen had perished in the decades it took to “pacify” the country by force. Instead of imposing European forms of administration, Lyautey hoped to win the Moroccans over by preserving local institutions and working through native leaders, starting with the sultan.
The French sought to control the cities of Morocco through the institutions surrounding the sultan’s government, known as the Makhzan (literally, the land of the treasury). Lyautey made a great show of respect for the symbols of the sultan’s sovereignty, playing the Moroccan anthem at state occasions and flying the Moroccan flag over public buildings. But such respect for the office of the sultan did not always extend to the office-holder. One of Lyautey’s first acts was to force the abdication of the reigning sultan, Moulay Abd al-Hafiz, whom he found unreliable, and his replacement with a more compliant ruler, Moulay Youssef (r. 1912–1927).
Lyautey built his control over the countryside on three indigenous pillars: the “big qa’ids,” or tribal leaders; the tariqas, or mystical Islamic brotherhoods whose network of lodges spanned the country; and the indigenous Berber people. The big qa’ids commanded the loyalty of their fellow tribesmen and were capable of raising hundreds of armed men. Having witnessed a tribal attack on Fez immediately after his arrival, Lyautey recognized the importance of securing their support for French rule. The tariqas represented a network of faith that transcended tribal ties whose lodges had served to shelter dissidents and mobilize religious opposition to repel non-Muslim invaders. Lyautey knew that the Algerian tariqas had played an important role in Abdel Kader’s resistance to the French in the 1830s and 1840s and was determined to co-opt their support for his government. The Berbers are a non-Arab minority community with a distinct language and culture. The French sought to play the Berbers of North Africa against their Arab neighbors in a classic divide-and-rule strategy. A law of September 1914 decreed that Morocco’s Berber tribes henceforth would be governed in accordance with their own laws and customs under French supervision as a sort of protectorate within a protectorate.
This Lyautey system was no less imperial for preserving indigenous institutions. French administrators ruled in all departments of “modern” government: finance, public works, health, education, and justice, among others. Religious affairs, pious endowments, Islamic courts, and the like came under Moroccan authority. Yet Lyautey’s system provided local leaders incentives to collaborate with, rather than subvert, the French colonial administration. The more Moroccan notables implicated in French rule, the fewer Lyautey had to “pacify” on the battlefield. Lyautey was feted as a great innovator, whose concern for preserving indigenous customs and traditions was seen by his contemporaries as a compassionate colonialism.
Even under the Lyautey system, however, a great deal of Morocco remained to be conquered. To reduce the drain on the French army, Lyautey recruited and trained Moroccan soldiers willing to deliver their own country to French rule. Though he aspired to total conquest, Lyautey focused on the economic heartland of Morocco, which he dubbed le Maroc utile, or “Useful Morocco,” comprising those regions with greatest agricultural, mining, and water resources.
The conquest of Useful Morocco proceeded slowly against sustained resistance from the countryside. Between the establishment of the protectorate in 1912 and the outbreak of World War I in 1914, French control stretched from Fez to Marrakesh, including the coastal cities of Rabat, Casablanca, and the new port of Kéni-tra, which was renamed Port Lyautey. There matters were left to stand for the duration of the war years, when 34,000 Moroccan soldiers were called to fight France’s war with Germany, suffering high casualties for their imperial overlord. Lyautey himself was recalled between 1916 and 1917 to serve as the French minister of war. Even so, the system held, with the big qa’ids proving France’s greatest supporters in Morocco. The rural notables met in Marrakesh in August 1914 and acknowledged their dependence on France. “We are the friends of France,” one of the leading notables declared, “and to the very end we shall share her fortunes be it good or bad.”
In the aftermath of the war and the Paris Peace Conference, Lyautey resumed the conquest of Morocco—and faced stronger opposition than ever. In 1923, over 21,000 French troops were fighting an estimated 7,000 Moroccan insurgents. Yet his biggest challenge would come from outside the territory of the French protectorate, from the Berber people of the Rif Mountains of the northern Spanish zone. His nemesis would be a small-town judge named Muhammad ibn Abd al-Karim al-Khattabi, better known as Abd el-Krim. From his native Rif Mountains, overlooking the Mediterranean coastline, Abd el-Krim mounted a five-year rebellion between 1921–1926 that claimed the lives of tens of thousands of Spanish soldiers in what has been called the worst defeat of a colonial army in Africa in the twentieth century.
Conflict between the people of the Rif (known as Rifis) and the Spanish broke out in the summer of 1921. Inspired by debates about Islamic social and religious reform, Abd el-Krim rejected French and Spanish rule alike and aspired to an independent state in the Rif quite separate from the Kingdom of Morocco. “I wanted to make the Rif an independent country like France and Spain, and to found a free state with full sovereignty,” he explained. “Independence which assured us complete freedom of self-determination and the running of our affairs, and to conclude such treaties and alliances as we saw fit.”
A charismatic leader, Abd el-Krim recruited thousands of Rifis into a disciplined and motivated army. The Rifis had the double advantage of fighting to protect their homes and families from foreign invaders and doing so on their own treacherous mountain terrain. Between July and August 1921, Abd el-Krim’s forces decimated the Spanish army in Morocco, killing some 10,000 soldiers and taking hundreds prisoner. Spain sent reinforcements and, in the course of 1922, managed to reoccupy territory that had fallen to Abd el-Krim’s forces. However, the Rifis continued to score victories against Spanish troops and managed to capture more than 20,000 rifles, 400 mountain guns, and 125 cannon, which were quickly distributed among their fighting men.
The Rifi leader ransomed his prisoners to get the Spanish to subsidize his war effort. In January 1923, Abd el-Krim secured over four million pesetas from the Spanish government for the release of soldiers taken prisoner by the Rifis since the start of the war. This enormous sum funded Abd el-Krim’s ambitious plans to build on his revolt to establish an independent state.
In February 1923, Abd el-Krim laid the foundations of an independent state in the Rif. He accepted the Rifi tribes’ pledges of allegiance and assumed political leadership as amir (commander or ruler) of the mountain region. The Spanish responded by mobilizing another campaign force to reconquer the Rif. Between 1923 and 1924 the Rifis dealt the Spaniards a number of defeats, crowned by the conquest of the mountain town of Chaouen in the autumn of 1924. The Spanish lost another 10,000 soldiers in the battle. Such victories gave Abd el-Krim and his Rifi legions more confidence than prudence. If the Spanish could be defeated so easily, why not the French?
The Rif War provoked grave concern in France. On a tour of his northern front in June 1924, Lyautey was alarmed to see how the defeat of Spanish forces left French positions vulnerable to attack by the Rifis. The Rif was a poor, mountainous land that was heavily reliant on food imports from the fertile valleys of the French zone. Lyautey needed to reinforce the region between Fez and the Spanish Zone to prevent the Rifis from invading to secure their food needs.
Lyautey returned to Paris in August to brief the premier, Edouard Herriot, and his government on the threat posed by Abd el-Krim’s insurrectionary state. Yet the French were overstretched, in occupation of the Rhineland and setting up their administration in Syria and Lebanon, and could not spare the men and material Lyautey believed the absolute minimum to preserve his position in Morocco. Whereas he requested the immediate dispatch of four infantry battalions, the government could muster only two. A life-long conservative, Lyautey sensed that he did not have the support of Herriot’s Radical government. Seventy years old, and in poor health, he returned to Morocco with neither the physical nor the political strength to contain the Rifis.
In April 1925, Abd el-Krim’s forces turned south and invaded the French zone. They sought the support of the local tribes that claimed the agricultural lands to the south of the Rif. Abd el-Krim’s commanders met with the tribal leaders to explain the situation as they saw it. “Holy war had been proclaimed by Abd el-Krim, the true Sultan of Morocco, to throw out the infidels, and particularly the French, in the name of the greater glory of regenerated Islam.” The occupation of all of Morocco by Abd el-Krim’s forces, they explained, “was no more than a question of days.” Abd el-Krim increasingly saw his movement as a religious war against non-Muslims who were occupying Muslim land, and he staked a claim to the sultanate of Morocco as a whole, and not just the smaller Rif Republic.
As Lyautey had feared, the Rifis swept rapidly through his poorly defended northern agricultural lands. The French were forced to evacuate all European citizens and to withdraw their troops from the countryside to the city of Fez, with heavy casualties. In just two months, the French had lost forty-three army posts and suffered 1,500 dead and 4,700 wounded or missing in action against the Rifis.
In June, with his forces encamped just 40 kilometers (about 25 miles) from Fez, Abd el-Krim wrote to the Islamic scholars of the city’s famous Qarawiyyin mosque-university to win them over to his cause. “We tell you and your colleagues . . . who are men of good faith and have no relations with hypocrites or infidels, of the state of servitude into which the disunited nation of Morocco is sunk,” he wrote. He accused the reigning sultan, Moulay Youssef, of having betrayed his nation to the French and of surrounding himself with corrupt officials. Abd el-Krim asked the religious leaders of Fez for their support as a matter of religious duty.
It was a persuasive argument, put forward in sound, theological terms supported by many quotes from the Qur’an on the necessity of jihad. But the Arab religious scholars of Fez did not throw their support behind the Berber Rifis. When it reached the outskirts of Fez, Abd el-Krim’s army came up against the solidly French-controlled “Useful Morocco” created by the Lyautey system. Faced with a choice between the aspiring national liberation movement from the Rif and the solidly established instruments of French imperial rule, the Muslim scholars of Fez clearly believed the Lyautey system was the stronger of the two.
Abd el-Krim’s movement came to a halt at the walls of Fez in June 1925. If the three pillars of French rule in the countryside were the mystical Muslim brotherhoods, the leading tribal notables, and the Berbers, then Lyautey had secured two out of the three. “The greatest reason for my failure,” Abd el-Krim later reflected, “was religious fanaticism.” The claim is incongruous in light of Abd el-Krim’s own use of Islam to rally support for a holy war against the imperial powers. But the Rifi leader was actually referring to the mystical Muslim brotherhoods. “The shaykhs of the tariqas were my bitterest enemies and the enemies of my country as it progressed,” he believed. He had no more success with the big qa’ids. “At first I tried to win over the masses to my point of view by argument and demonstration,” Abd el-Krim wrote, “but I met with great opposition from the main families with powerful influence.” With one exception, he claimed, “the rest were all my enemies.”18 In their opposition to Abd el-Krim, the big qa’ids and the shaykhs of the brotherhoods had all upheld French rule in Morocco as Lyautey intended. As for the Berbers—Abd al-Krim and his Rifi fighters were themselves Berbers. They took Lyautey’s policy of Berber separatism further than Lyautey himself ever intended. It is of no doubt that the Rifis’ Berber identity played a role in discouraging Moroccan Arabs from joining their campaign against the French.
Though his system of colonial government held, Lyautey himself fell to the Rifi challenge. To his critics in Paris, the overflow of the Rif War into the French protectorate proved the failure of Lyautey’s efforts to achieve the total submission of Morocco. As major reinforcements from France flooded Morocco in July 1925, Lyautey—exhausted by months of campaigning against the Rifis compounded by ill health—asked for another commander to assist him. The French government dispatched Marshal Philippe Pétain, the hero of the World War I battle of Verdun, to assist. In August, Pétain took control of French military operations in Morocco. The following month, Lyautey tendered his resignation. He left Morocco for good in October 1925.
Abd el-Krim did not long survive Lyautey. The French and Spanish combined forces to crush the Rifi insurgency. The Rifi army had already withdrawn back to its mountain homeland in northern Morocco, where it came under a two-front siege by massive French and Spanish armies in September 1925. By October, the European armies had completely surrounded the Rif Mountains and imposed a complete blockade to starve the Rifis into submission. Abd el-Krim’s efforts to negotiate a resolution were rebuffed, and in May 1926, the Rif Mountains were overrun by a joint European force of some 123,000 soldiers. Rifi resistance crumbled, and Abd el-Krim surrendered to the French on May 26. He was later exiled to the Indian Ocean island of Réunion, where he remained until 1947.
With the collapse of the Rif War, France and Spain resumed their colonial administration of Morocco unencumbered by further domestic opposition. Though the Rif War did not engender sustained resistance to the French or Spanish in Morocco, Abd el-Krim and his movement sparked the imagination of nationalists across the Arab world. They saw the Rifis as an Arab people (not as Berbers) who had led a heroic resistance to European rule and had inflicted numerous defeats on modern armies in defense of their land and faith. Their five-year insurgency (1921–1926) against Spain and France inspired some Syrian nationalists to mount their own revolt against the French in 1925.