as a master and pioneer of guerrilla warfare, and the president of the Republic of the Rif. By July, the remainder of the 60,000 Spanish soldiers who were not killed or captured had fled to the coast, and into Melilla, defeated by an army of 30,000 Rifian fighters. The catastrophic defeat of the Spanish forces at Annual and the ensuing massacre of Spaniards at Monte Arruit delivered a coup de grace to the Restoration regime in that country, and what it was known as the African "adventure" became referred to as the Moroccan "mess" or "cancer". A coup d'état led by Miguel Primo de Rivera installed a dictatorship in Spain in September 1923. By 1924, the Spanish forces had retreated, because of more defeats at the hands of Abd el-Krim, to three isolated cities along the Moroccan coast: Tetouan, Ceuta and Melilla (the two latter under Spanish jurisdiction to this day). After Abd el-Krim invaded French-occupied Morocco in April 1925 and made it as far as Fez, France decided to take strong steps to put down the revolt. The French government, in 1925, after conferencing with the Spanish in Madrid, sent a massive French force under Marshal Henri Philippe Pétain to Morocco, where it joined with a Spanish army, with a combined total of more than 250,000 soldiers, supported by large numbers of aircraft and artillery, and began operations against the Rif Republic. By September 1925 the Spanish Army of África, supported by a combined Spanish-French fleet, landed in Alhucemas bay, barely a dozen miles from Abd-el-Krim's capital and birthplace, Axdir, while several colonial and even metropolitan French regiments were coming from the south toward the heartlands of the Rifian rebellion. Intense combat lasted ten months, but eventually, the combined French and Spanish armies, which used chemical bombs against the population as well as other weapons, defeated the forces of Abd el-Krim and inflicted extensive damage on the local Berber population. On 26 May 1926, Abd el-Krim surrendered to the French at his then headquarters of Targuist (Targist). Exile Following his surrender Abd el-Krim was exiled to the island of Réunion (a French territory in the Indian Ocean) from 1926 to 1947, where he was "given a comfortable estate and generous annual subsidiary". In exile, he continued his fierce anti-Western rhetoric, and he pushed to keep western trends from encroaching on Moroccan culture. In 1947, Abd el-Krim was given permission