In 1921, el-Krim led the Rif against a Spanish military post in Er Rif, Morocco, capturing it and killing 16,000 soldiers. By 1924, the Spanish were forced to retreat to their holdings along the Moroccan coast. Meanwhile, France laid claim to territory in southern Er Rif. In 1925, a French force under Marshal Henri Philippe Pétain and a Spanish army began operations against the Rif tribe. Intense combat persisted for a year, but eventually the combined French and Spanish armies defeated the forces of Abd el-Krim. El-Krim was exiled to Réunion Island (a French territory) from 1926 to 1947, when he was allowed to live in the south of France.