Just before the 20th century began, most of Africa, with the exception of Ethiopia, and Liberia, was under colonial rule. By the 1980s, most nations were independent. Military systems reflect this evolution in several ways: Growth of indigenous knowledge and skill in handling modern arms Established colonial armies of mainly indigenous troops officered by Europeans Rebellions, resistance and "mop up" operations Weakening of European colonial power due to World War I and World War II Decolonization and the transition to the militaries of the new African states Wars of national liberation across the continent particularly the northern and southern regions Frequent tribal or civil wars across the continent Frequent military coups against the post colonial regimes Continued strength of regional powers like Egypt and South Africa The rise of asymmetric forces and failed states The rise of international forces and bureaucracies Continued challenges and evolution into the 21st century

For events prior to 1800, see African military systems to 1800. For events between 1800 and 1900, see African military systems (1800–1900). For an overall view of the military history of Africa by region, see Military History of Africa. Below are the major activities and events that shaped African military systems into the 20th and 21st century.

Rebellions, resistance, and "mop up" operations

By 1900, the imperial powers had won most of the initial major battles against indigenous powers, or had occupied strategic areas such as coastlines, to secure their dominance. Colonies were established or expanded across the landscape- sometimes eagerly, as in the case of major mineral finds- or sometimes forced on the imperial center by the outlying actions of grasping or ambitious settlers, merchants, military officers, and bureaucrats. The complexity of African responses to the new order defies a simple narrative of good versus evil.Bruce Vandervort, Wars of Imperial Conquest in Africa: 1830–1914, Indiana University Press: 1998, pp. 6–37 In some cases the intruders were welcomed as useful allies, saviours or counterweights in local disputes. In other cases, they were bitterly resisted. In some areas, the colonial regimes brought massive land confiscations, violence and what some see as genocide.Hochschild, Adam, King Leopold's Ghost: A story of greed, terror and heroism in colonial Africa, Pan Macmillan: London, 1998 In others they brought education, better security, new products and skills, and improved standards of infrastructure and living.

The historical record shows destructive operations by both indigenous hegemony and foreign intruders. Some of the methods used by the colonial powers are also reflected in armed European conflicts. Murdered peasants, livestock and grain seizures, arbitrary quartering of troops, and massive theft and looting by roaming armies for example, are common occurrences in various eras of European military history. Napoleon's brutal occupation of Spain is but one example. Nor did the colonial era see a complete cessation of purely internal disputes and wars. These were much reduced from the 19th century due to the colonial conquests, but still occurred in some areas with varying levels of intensity. Some limited areas of North Africa, such as Libya, were still under the sway of non-European powers like the Ottomans, adding to the complexity of the colonial situation.Gann, L. H. and Duignan, Peter, Burden of Empire – an Appraisal of Western Colonialism in Africa South of the Sahara, Pall Mall Press. London 1968. Reviewed in

Whatever the balance sheet in different areas, it is clear that consolidation and exploitation of the new territories involved a large measure of coercion, and this often provoked a military reply. The exact form of such coercion varied- it could be land seizures, forced labor, hut taxes, interference in local quarrels, monopolism of trade, small-scale punitive expeditions, or outright warfare of genocidal intensity as that waged by the Germans against the Herero and Namaqua (or Nama) in southwest Africa. African military responses in this "mop up" or "pacification" period of the century's first decades were diverse- ranging from minor rebellions and revolts, sustained guerilla warfare, and full scale clashes. Only a few of these varying responses are considered here in terms of African military systems. Cavalry: the demise of the Sokoto Caliphate, one of the major powers in the savannah regions of West Africa Guerilla warfare: the Herrero and Nama versus the Germans Major warfare: the massive Rif War in Spanish Morocco

Twilight of the mounted man

West Africa's largest single state during the 19th century, the Sokoto Caliphate of northern Nigeria moved into the 20th century with its military system intact- the traditional mix of infantry and cavalry. New powers and technologies however were appearing on the scene. Some cavalry-strong states like the Tukolor, made sporadic attempts to incorporate weapons like artillery but integration was poor.Bruce Vandervort, Wars of Imperial Conquest in Africa: 1830–1914, Indiana University Press: 1998 Sokoto largely stuck to the old ways, was annexed and incorporated in the British Empire in 1903. Sokoto's soldiers, whether horse or foot, had very few guns. The Caliphate's tactics were to attack in a series of set-piece battles, with thundering cavalry charges leading the way, followed by infantry armed with bow, sword and spear. As the fighting men surged forward into combat, their movements were accompanied by loud music and drums These however were not enough, and assaults were quickly routed by the modern weaponry of virtually invulnerable British squares. Traditional fortified cities and forts also made a poor showing and were usually rapidly breached by British artillery.Risto Marjomaa, War on the Savannah: The Military Collapse of the Sokoto Caliphate under the Invasion of the British Empire, 1897–1903 – Reviewed in Thus ended the heyday of the centuries-old West African cavalry-infantry combination. In Southern Africa the mounted men of the Boer forces also saw defeat in 1902, as imperial troops implemented a blockade and scorched earth policy against their mobile tactics. This outcome paralleled general developments on the battlefield, as mounted forces gradually lost their relevance under modern firepower.Archer Jones, The Art of War in the Western World, University of Illinois Press: 1987, pp. 387–463

Guerilla warfare in Southwest Africa

Guerilla warfare was a common military response in many areas of Africa during the early colonial era. The bitter 1904–1907 war between imperial Germany and the Herero tribe in today's Namibia is an illustration of this pattern, with tragic consequences for the indigenous resistance, including concentration camps, forced labor, and a scorched earth extermination policy that even some contemporary Germans found repugnant. In August 1904, German colonial troops under commander Lothar von Trotha, carried out a ruthless cleansing campaign against the recalcitrant Herero and Nama tribes, who had risen in revolt against increasing white demands for land, labor and cattle. Several white farmers were killed in the rising and thousands of cattle were collected. General von Trotha counterattacked with well equipped modern troops, and refused Herero offers to negotiate surrender. His extermination proclamation, issued on October 2, 1904, read in part: "Every Herero found within German borders, with or without guns, with or without livestock, will be shot. I will not give shelter to any Herero women or children.." An estimated 75,000 Herero and Nama were slaughtered. Thousands were killed in battle and in the aftermath, victorious German forces chased the survivors into the waterless Omaheke Desert, physically preventing any from returning. Thousands of men, women and children died of thirst and starvation. Many of those Herero and Nama that survived this slaughter were sent to specially erected concentration camps or to forced employment on German commercial farms. Hundreds of civilians died due to the inhumane conditions in the camps and on the farms. The liquidation of the blacks opened the way for the seizure of land and cattle and consolidated European control over the territory.The Herero and Nama Genocides, 1904–1908, J. B. Gewald, in Encyclopedia of Genocide and Crimes Against Humanity, New York, Macmillan Reference, 2004.

The Rif Wars

The Rif wars are relatively obscure compared to the well known Ethiopian victory at Adowa or that of the Zulu at Isandhlwana. Nevertheless, it was a significant demonstration of large scale warfare by indigenous troops, and fighters of the Moroccan Rif and J'bala tribes dealt several defeats to Spanish forces in Morocco over their course. It took a massive collaboration by French and Spanish forces to finally liquidate resistance in 1925.

Early defeats of the Spanish The Rif War of 1920, also called the Second Moroccan War, was fought between Spain (later assisted by France) and the Moroccan Rif and J'bala tribes. Spain moved to conquer the lands around Melilla and Ceuta and the eastern territory from the Jibala tribes during the 1920s. In 1921 Spanish troops suffered a momentous defeat — known in Spain as the disaster of Annual — by the forces of Abd el-Krim, the leader of the Rif tribes. The Spanish were pushed back and during the following five years, occasional battles were fought between the two. In a bid to break the stalemate, the Spanish military turned to the use of chemical weapons against the Riffians. The Berber tribesmen had a long tradition of fierce fighting skills, combined with high standards of fieldcraft and marksmanship. They were capably led by Abd el-Krim who showed both military and political expertise. The elite of the Riffian forces formed regular units which according to Abd el-Krim, quoted by the Spanish General Manual Goded, numbered 6–7,000. The remaining Riffians were tribal militia selected by their Caids and not liable to serve away from their homes and farms for more than fifteen consecutive days. General Goded estimates that at their peak the Riffian forces numbered about 80,000 men. Spanish troops in Morocco were initially mainly Metropolitan conscripts. While capable of enduring much hardship they were poorly trained and supplied, with widespread corruption reported amongst the officer corps. Accordingly, much reliance was placed on the limited number of professional units comprising the Spanish "Army of Africa". Since 1911 these had included regiments of Moorish Regulares. A Spanish equivalent of the French Foreign Legion, the Tercio de Extranjeros ("Regiment of Foreigners"), was also formed in 1920. The regiment's second commander was General Francisco Franco.

Entry of France into the war and collaboration between France and Spain In May 1924, the French Army had established a line of posts north of the Ouregha River in disputed tribal territory. On 13 April 1925, an estimated 8,000 Rifs attacked this line and in two weeks 39 of 66 French posts had been stormed or abandoned. The French accordingly intervened on the side of Spain, employing up to 300,000 well trained and equipped troops from Metropolitan, North African, Senegalese and Foreign Legion units. French deaths in what had now become a major war are estimated at about 12,000. Superior manpower and technology soon resolved the course of the war in favour of France and Spain. The French troops pushed through from the south while the Spanish fleet secured Alhucemas Bay by an amphibious landing, and began attacking from the north. After one year of bitter resistance, Abd el-Krim, the leader of both the tribes, surrendered to French authorities, and in 1926 Spanish Morocco was finally retaken.David S. Woolman Rebels in the Rif, pp. 149–152, Stanford University Press 1968.

Impact of World War I and World War II