Following the First World War, the Republic of the Rif, led by the guerrilla leader Abd el-Krim, was a breakaway state that existed from 1921 to 1926 in the Rif region, when it was subdued and dissolved by joint expedition of the Spanish Army of Africa and French forces during the Rif War.