The city of Sidi Ifni was incorporated into the Spanish colonial empire in 1860.
When Morocco gained independence from France in 1956, the country expressed their keen interest in all of Spain's possessions in Morocco, claiming that it was historically and geographically all part of Moroccan territory.