Portions of Western Sahara were a Spanish Colony till 1975 as the last colonial province in Africa. A war erupted between those countries and the Sahrawi national liberation movement, the Polisario Front, which proclaimed the Sahrawi Arab Democratic Republic (SADR) with a government in exile in Tindouf, Algeria. Mauritania withdrew in 1979, and Morocco eventually secured control of most of the territory, including all the major cities and natural resources. With UN efforts ceasefire was implemented from 1997 between Polisario and Moroccan forces.