Western Sahara is a non-self-governing territory in North-western Africa undergoing decolonization. It has a surface area of 272,000 square kilometres (105,000 sq mi). Western Sahara is the last African colonial state yet to achieve independence and has been dubbed "Africa's last colony". With an estimated population of around 600,000 inhabitants, it is the most sparsely populated territory in Africa and the second most sparsely populated territory in the world, consisting mainly of desert flatlands.
Spain previously colonized the territory as the Spanish Sahara until 1976, when it attempted to transfer its administration to Morocco and Mauritania while ignoring an International Court of Justice's verdict that those countries had no sovereignty over Western Sahara. A war erupted and the Polisario Front—a national liberation movement recognized by the United Nations as the legitimate representative of the people of Western Sahara—proclaimed the Sahrawi Arab Democratic Republic (SADR) with a government-in-exile in Tindouf, Algeria. Mauritania withdrew its claims in 1979, and Morocco secured de facto control of most of the territory, including all major cities and most natural resources. A UN-sponsored ceasefire agreement was reached in 1991, though a planned referendum monitored by the UN's MINURSO mission has since stalled.