Morocco was a French protectorate from 1912 to 1956, part of France's colonial empire in North Africa. While Spain controlled a small northern zone, France administered the majority of Moroccan territory during the colonial period until Moroccan independence.