After a period of hostilities, Mauritania withdrew from the territory in 1979 and signed a peace treaty with the Polisario relinquishing all claims to the territory. Moroccan troops took control of the region vacated by Mauritania and later proclaimed the territory reintegrated into Morocco. Morocco subsequently built the Moroccan Wall, a network of fortified berms around the largest portion of Western Sahara and has since asserted administrative control over that territory. Polisario remains in control over the easternmost part of the territory.
After a period of hostilities, Mauritania withdrew from the territory in 1979 and signed a peace treaty with the Polisario relinquishing all claims to the territory Moroccan troops took control of the region vacated by Mauritania and later proclaimed the territory reintegrated into Morocco. Morocco subsequently built the Moroccan Wall, a network of fortified berms around the largest portion of Western Sahara and has since asserted administrative control over that territory. Polisario remains in control over the easternmost part of the territory.