
The Rif War was an armed conflict fought from 1920 to 1927 between the colonial power Spain and the Berber tribes of the Rif mountainous region of Morocco. Led by Abd el-Krim, the Riffians at first inflicted several defeats on the Spanish forces by using guerrilla tactics and captured European weapons. After France's military intervention against Abd el-Krim's forces and the major landing of Spanish troops at Al Hoceima, considered the first amphibious landing in history to involve the use of tanks and aircraft, Abd el-Krim surrendered to the French and was taken into exile.

Ajdir is a small town in Morocco near Al Hoceima. It was the capital of the Republic of the Rif from 1922-1926 under the leadership of Abd el-Krim (d.1963). The town lies in the territory of the Ait Waryagher tribe.

The Alhucemas landing was a landing operation which took place on 8 September 1925 at Alhucemas by the Spanish Army and Navy and, in lesser numbers, an allied French contingent, that would put an end to the Rif War. It is considered the first amphibious landing in history involving the use of tanks and massive seaborne air support.

The Battle of Annual was fought on July 22, 1921, at Annual in northeastern Morocco, between the Spanish Army and Berber Riffian combatants during the Rif War. The Spanish suffered a major military defeat, almost always referred to by the Spanish as the Disaster of Annual, which led to major political crises and a redefinition of Spanish colonial policy toward the Rif.

The Bombardment of Chefchaouen was an aerial bombardment of Chefchaouen, Morocco carried out in the middle of the Rif War by a rogue American squadron in the service of the French colonial empire on September 17, 1925.

The Fuerzas Regulares Indígenas, known simply as the Regulares (Regulars), are volunteer infantry units of the Spanish Army, largely recruited in the cities of Ceuta and Melilla. Consisting of indigenous infantry and cavalry recruited in Spanish Morocco, forming part of the Army of Africa and officered by Spaniards, these troops played a significant role in the Spanish Civil War (1936–39).

The Spanish Legion, informally known as the Tercio or the Tercios, is a unit of the Spanish Army and Spain's Rapid Reaction Force. It was raised in the 1920s to serve as part of Spain's Army of Africa. The unit, which was established in January 1920 as the Spanish equivalent of the French Foreign Legion, was initially known as the Tercio de Extranjeros, the name under which it began fighting in the Rif War of 1920–1926. Although foreign recruitment spans the Spanish-speaking nations, the majority of recruits are Spaniards. Over the years, the force's name has changed from Tercio de Extranjeros to Tercio de Marruecos, and by the end of the Rif War it became the "Spanish Legion", with several "tercios" as sub-units.

The Tiradores de Ifni were volunteer indigenous infantry units of the Spanish Army, largely recruited in the enclave of Ifni The tiradores were originally recruited from the Spanish Morocco, forming part of the Army of Africa and mostly officered by Spaniards, these troops played a role in the Spanish Civil War (1936–39).