Spain still kept territories in Africa. Spain controlled Morocco, Western Sahara, and Equatorial Guinea, until decolonization in the 1960s and 1970s. The last colony to gain independence was the Western Sahara, in 1975.