The conflict began when Spain pulled out of the territory in 1975 .