The takeover was violently opposed by a pre-existing indigenous independence movement, the Polisario Front, which had gained support from Algeria. The ensuing war went badly for Mauritania, and Ould Daddah's government fell in 1978.[8] The country left Tiris al-Gharbiyya the following year, renouncing all claims to any part of Western Sahara, and recognizing the Polisario Front as its people's legitimate representative.