The Royal Armed Forces were created on 14 May 1956, after French Morocco, a French Protectorate, was dissolved. Fourteen thousand Moroccan personnel from the French Army and ten thousand 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 crash training programmes at the military academies of Saint-Cyr, Toledo and Dar al Bayda produced sufficient numbers of Moroccan commissioned officers.