Relations with Rabat deteriorated rapidly, and amid allegations of Moroccan backing for attempted coups and minor armed clashes, Mauritania drew closer to Algeria and the Polisario. The government later established formal relations with the Front's government-in-exile, the Sahrawi Arab Democratic Republic, as a recognized sovereign over the territory.[9]