However relations worsened when Spain announced its intention to pull out of Spanish Sahara (modern Western Sahara) in 1975, with Morocco then annexing the northern two-thirds, and later the whole, of the territory.