Ifni (ēfˈnē) [key], former Spanish possession (580 sq mi/1,502 sq km), SW Morocco, on the Atlantic Ocean. The main industry is fishing. Ifni was ceded by Morocco to Spain in 1860, but Spanish administration was nominal until 1934; from then until 1958 its capital, Sidi Ifni, was the residence of the governor-general of Spanish Sahara (now Western Sahara). Border clashes between Spanish and Moroccan troops occurred in 1957. Spain returned Ifni to Morocco in 1969.