The Royal Armed Forces were created on 14 May 1956, after the French Protectorate was dissolved in 1955. 14,000 Moroccan personnel from the French Army and 10,000 from the Spanish Armed Forces transferred into the newly formed armed forces, this number was augmented by approximately 5,000 former guerrillas from the "Army of Liberation", About 2,000 French officers and NCOs remained in Morocco on short term contracts until the training programs at the military academies of St-Cyr, Toledo and Dar al Bayda produced sufficient numbers of Moroccan commissioned officers.