An international legislative body was created to govern the city. Spain occupied Tangier from 1940 to 1945, taking advantage of France's occupation by Germany in 1940. The status of the international zone remained until its 29 October 1956 reintegration with Morocco, following Morocco's independence that year.