Morocco and Polisario signed a ceasefire agreement in 1991 ending the war; Morocco retained control of areas west of the wall (roughly 80% of Western Sahara), with Polisario controlling those east, which includes the entirety of the Mauritania-Western Sahara boundary.