Independent from France in 1960 , Mauritania annexed the southern third of the former Spanish Sahara ( now Western Sahara ) in 1976 but relinquished it after three years of raids by the Polisario guerrilla front seeking independence for the territory .