The Rif War (Spanish: Guerra del Rif) was an armed conflict fought from 1921 to 1926 between Spain (joined by France in 1924) and the Berber tribes of the mountainous Rif region of northern 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 and was taken into exile.