In the summer of 1921, in the mountains of the Rif, a Berber republic humiliated two European empires — and Abd el-Krim, the architect of that humiliation, invented modern guerrilla warfare.
Muhammad ibn Abd al-Krim al-Khattabi was an unlikely revolutionary: a qadi (judge) trained in Fez, a former journalist and colonial administrator who had worked for Spain. But when Spain — having received the northern Moroccan protectorate in 1912 — pushed into the Rif with the arrogance of a colonial army that had never been beaten, Abd el-Krim organized the tribes into something Europe had never faced: a disciplined, modern insurgency.
On 22 July 1921, at Annual, his few thousand Rifian fighters annihilated a Spanish army of 20,000 — the worst defeat of a European colonial army in Africa, worse than Isandhlwana. Spain lost 13,000 men, its commander General Silvestre died, and the survivors fled to Melilla. The "Disaster of Annual" toppled the Spanish government, discredited the monarchy — Alfonso XIII's flirtation with the responsible generals helped bring the Second Republic a decade later — and electrified the colonized world. Ho Chi Minh, studying in Paris, followed the Rif war closely; the young Vietnamese nationalists took notes.
Abd el-Krim then did something extraordinary: he proclaimed the Rif Republic (1923), with a capital at Ajdir, a flag, a parliament, courts, and tax collection — a Berber state built on tribal democracy and Islamic reform, the first modern republic in North Africa. For five years it held off Spain. But in 1925 Abd el-Krim attacked French positions to the south, and France — unwilling to tolerate a revolutionary republic on the border of its Moroccan protectorate — intervened with 160,000 men under Marshal Pétain, while Spain landed 13,000 troops at Alhucemas in the first major amphibious operation supported by tanks and aircraft.
The end was a war crime and a military lesson. France and Spain used chemical weapons — mustard gas dropped from airplanes — against Rifian villages, one of the first systematic uses of chemical warfare against civilians. Outgunned and gassed, Abd el-Krim surrendered in May 1926 to save his people; he was exiled to Réunion Island, later escaping to Egypt, where he died in Cairo in 1963, refusing French offers to return.
The Rif War's military legacy is enormous: the first defeat of a European army by a colonized people in the twentieth century, the laboratory of guerrilla tactics — mobility, popular support, captured weapons — that Mao, Giap, and Guevara would systematize. Its political legacy is Moroccan: the war proved that European power could be beaten, and the memory of the Rif Republic — a Berber-led, democratic, reformist state — remains a touchstone of Moroccan political imagination. Abd el-Krim, the qadi who became a general, is the father of modern anti-colonial warfare.
The chemical war in the Rif remains the least-remembered crime of the interwar years: Spanish and French aircraft dropped mustard gas — ypérite — on Rifian villages, markets, and livestock from 1924 on, in a campaign the Spanish air force called "the sanitary solution"; the archives, opened decades later, document hundreds of sorties, and the cancer rates in the Rif today are still attributed by many to the contamination. Abd el-Krim's own account, dictated in exile, is unsparing about his errors too — the 1925 attack on French lines that brought Pétain's 160,000 men down on the republic was, he admitted, a miscalculation born of overconfidence after Annual. His exile's second act is often forgotten: from Cairo, the old emir became the godfather of Maghrebi nationalism, sheltering Algerian and Moroccan nationalists, refusing every French offer of a comfortable return — "I will return to Morocco free, or not at all." When Mohammed V visited him in Cairo in the 1950s, the Sultan of independent Morocco bowed to the exile who had proved, thirty years earlier, that Europeans could be beaten. The Rif Republic lasted five years; its proof lasted a century.
Impact on civilization
Part of Morocco: The Long Empire — more than eight centuries of continuous Moroccan statehood, from the Idrisids to the reigning Alaouites.
- The Cambridge History of Africa, vol. 7
- Encyclopaedia of Islam: Abd al-Karim
- David Woolman, Rebels in the Rif
- Daniel Rivet, Le Maroc de Lyautey à Mohammed V
- Spanish military archives, Annual