The Rif War was a colonial war fought from 1921 to 1926 in the mountains of northern Morocco between the Berber tribes of the Rif, led by Muhammad ibn Abd el-Krim al-Khattabi, and the armies of Spain and later France. In its first months the Riffians destroyed a Spanish army at Annual in a disaster that shook Spain, and for several years Abd el-Krim ran an independent Rif Republic. It took a joint Franco-Spanish offensive with hundreds of thousands of troops, aircraft and poison gas to defeat him. The political fallout helped bring a military dictatorship to Spain, and the war made the careers of officers who would later lead the rising that began the Spanish Civil War.
The Spanish protectorate
Spain had fought in Morocco through the nineteenth century, and after the Algeciras Conference of 1906 divided influence in the sultanate between France and Spain, the two powers formalised their claims in 1912. France made most of Morocco its protectorate in March 1912, and an agreement of November 1912 gave Spain a northern strip along the Mediterranean, with its capital at Tetuan, taking in the Rif mountains. Tangier was later placed under an international administration, and the Spanish cities of Ceuta and Melilla stood on the coast.
The Spanish zone was mountainous and its tribes fiercely independent, and Spanish administration of the Rif did not become fully effective until 1927. Earlier campaigns had already been costly: in 1909 a serious setback on Mount Gurugú near Melilla coincided with the Tragic Week in Barcelona, where anger at conscription for Morocco erupted into riots. Service in Africa remained deeply unpopular at home.
Annual, 1921
General Manuel Fernández Silvestre pushed a line of Spanish posts deep into the eastern Rif, towards the lands of the Beni Urriaguel tribe and its leader Abd el-Krim, whose base was at Ajdir on Alhucemas Bay. In June and July 1921 Rif fighters attacked the outposts, among them Sidi Dris and Igueriben. On 22 July Silvestre abandoned the main camp at Annual, and the withdrawal turned into a rout. Silvestre was killed.
Over the next two weeks the Spanish positions in the eastern zone fell one after another. General Felipe Navarro's column made a stand at Monte Arruit, where about 3,000 of its men, killed during the siege or after capture, now lie buried. Estimates of Spain's dead in the whole disaster, from 22 July to 9 August, range from about 8,000 to the official figure of more than 13,000, and several hundred more were taken prisoner.
The Rif Republic
Abd el-Krim used the victory to build a state. After Annual his forces overran most of the Spanish zone, and he proclaimed the Republic of the Rif, a self-governing state that challenged both colonial powers. In 1922 the Spanish journalist Luis de Oteyza travelled to Ajdir to interview him, a sign of how far the Rif leader had become a figure of public fascination in Spain. In the western zone the Jebala leader Ahmed al-Raisuni was defeated and captured by Abd el-Krim's followers and died in 1925.
In Spain the disaster caused a political storm. General Juan Picasso led an inquiry into responsibility for Annual. In September 1923 General Miguel Primo de Rivera seized power in a coup, which halted the inquiry, and ruled as dictator until 1930. In 1924 Spanish columns fought to relieve besieged positions around Xauen, but further posts were given up, to the anger of the africanistas, the officers who had made their careers in Africa, among them Francisco Franco. By early 1925 the Riffians held about four-fifths of the Spanish zone.
France enters the war
In April 1925 Abd el-Krim attacked the French protectorate to the south. The French suffered heavy losses, and Rif forces threatened Fez and Taza. The attack turned a Spanish colonial war into a Franco-Spanish one, and Marshal Philippe Pétain, later head of the Vichy regime in the Second World War, planned the counter-offensive. In the summer of 1925 a conference in Madrid agreed on joint operations.
Alhucemas and defeat
On 8 September 1925 Spanish troops landed on beaches west of Alhucemas Bay, near the heart of Abd el-Krim's territory. The operation, commanded by Primo de Rivera with General José Sanjurjo in charge of the landing force and Colonel Franco leading the Legion, was backed by the battleships Alfonso XIII and Jaime I, the seaplane carrier Dédalo, dozens of transport ships and armoured landing barges. About 9,000 men went ashore in the first wave and around 13,000 by nightfall; Spanish losses in the operation were 361 dead and 1,975 wounded. Franco was promoted to brigadier general. At the same time French armies attacked from the south. The combined forces numbered about 250,000 men, against Rif fighters who rarely had more than 20,000 under arms at any time, and both armies used aircraft, tanks and poison gas. Ajdir fell in October.
The Riffians fought on through the winter. Abd el-Krim asked for negotiations in March 1926, but talks broke down in April, and in May 1926 he surrendered to the French rather than the Spanish. He was exiled to Réunion, later escaped to Egypt and died there in 1963, never having returned to Morocco. Spain completed the occupation of its zone in 1927.
Consequences and memory
The war shaped Spain's twentieth century. The fallout from Annual fed the crisis that ended in Primo de Rivera's dictatorship, and the campaign formed a generation of africanista officers. Franco, who became a general at 33, and Sanjurjo, who later served as high commissioner in Morocco, both rose in the Rif, and Franco went on to lead the military rebellion of 1936. The war was also an early example of the use of air power, gas and combined sea and air landings against an anti-colonial rising. The Spanish protectorate itself lasted until the independence of Morocco in 1956.
On our maps
Our 1920 and 1930 maps show the whole of Morocco, including Melilla, Tetuan, Chefchaouen and the area around Annual, as a single territory labelled Morocco; they do not draw the Spanish protectorate as a separate zone.
Key dates
- 1912France and Spain divide Morocco into protectorates; Spain receives the northern strip, including the Rif.
- 1921Rif fighters attack Spanish outposts in June and July.
- 1921The Spanish army around Annual collapses between 22 July and 9 August, and General Silvestre is killed.
- 1921About 3,000 men of General Navarro's column die at Monte Arruit after the retreat.
- 1923General Miguel Primo de Rivera seizes power in Spain in September and halts the inquiry into Annual.
- 1924Spanish columns fight to relieve besieged posts around Xauen, and more positions are evacuated.
- 1925Rif forces attack the French zone in April and threaten Fez and Taza.
- 1925A Franco-Spanish conference in Madrid in the summer agrees on a joint offensive.
- 1925Spanish troops land at Alhucemas Bay on 8 September, and Ajdir falls in October.
- 1926Peace talks fail in April, and Abd el-Krim surrenders to the French in May.
- 1927The last scattered fighting ends, and Spanish rule over the protectorate becomes effective.
From the atlas
Rif War in time and on the map
Rif War lasted from 1911 to 1927. Borders of Time has 2 world maps from those years: 1914 and 1920. The nearest maps from before and after are 1900 and 1930; compare them side by side.
Living through it, among others on this site: A. J. P. Taylor (1906–1990), Adolf Hitler (1889–1945), Albert Einstein (1879–1955), Alexander Fleming (1881–1955), Alexander Kerensky (1881–1970), Alfred North Whitehead (1861–1947), Amelia Earhart (1897–1937), Ante Pavelić (1889–1959), António de Oliveira Salazar (1889–1970) and Antonio Gramsci (1891–1937).
Other events of the same years: Russo-Turkish wars (1568–1918), American Indian Wars (1622–1924), Indian independence movement (1757–1947), Third plague pandemic (1855–1945), Porfiriato (1876–1911), Scramble for Africa (1885–1914), Progressive Era (1897–1920), Banana Wars (1898–1934), Nahda (1900–2000) and Dervish War (1900–1920).
Next to it in time on this site: before, 1911 Revolution (1911–1912) and Italo-Turkish War (1911–1912); after, Balkan Wars (1912–1913) and Sinking of the Titanic (1912).
Quick answers
- When did Rif War happen?
- It began in 1911 and ended in 1927, lasting 16 years.
- Where did Rif War take place?
- Rif, Spanish protectorate in Morocco and French protectorate in Morocco.
- How did the map change?
- Compare the atlas’s maps of 1900 and 1930 side by side.
- Why did the Spanish army collapse at Annual?
- General Manuel Fernández Silvestre had pushed a line of small posts deep into the eastern Rif. When Rif fighters overran outposts such as Igueriben and Silvestre decided to abandon the camp at Annual on 22 July 1921, the withdrawal turned into a rout, and the positions left behind fell one by one until 9 August. Silvestre's decision to leave Annual has been widely criticised, and a Spanish inquiry under General Juan Picasso examined who was responsible.
- Did Spain use chemical weapons in the Rif War?
- Yes. From 1923 Spanish aircraft, including the Farman F.60 Goliath bomber, dropped gas bombs on the Rif, and the use continued into 1925. Chemical weapons were also part of the great Franco-Spanish offensive of September 1925.
- What happened to Abd el-Krim?
- He surrendered to the French in May 1926, choosing them over the Spanish, and was exiled to the island of Réunion in the Indian Ocean. He later escaped to Egypt, where he lived for the rest of his life, and died there in 1963 without ever returning to Morocco.
- Why was the landing at Alhucemas important?
- It was the decisive blow of the war, striking at the heart of Abd el-Krim's homeland near Ajdir. It is often described as the first combined sea and air landing in history, with battleships, a seaplane carrier, aircraft and armoured barges supporting about 13,000 troops put ashore on the first day. Several of its officers, including Francisco Franco, later led the 1936 rising in Spain.