The conflict in Western Sahara dates back to 1975 when the former colonial power Spain withdrew from the sparsely-populated territory and joint forces from neighbouring Mauritania and Morocco moved in to take control.