Sidi Ifni
Historically, Sidi Ifni is claimed to be the location of Santa Cruz de la Mar Pequeña, which had been long pursued by Spain, who built a small coastal fortress there in the 15th century. Although the existence of the fortress is widely documented, historians could not determine its exact location along the coast between Agadir and Tarfaya. In 1860, following the Spanish-Moroccan War, Morocco ceded Sidi Ifni and the territory of Ifni to Spain as a part of the Treaty of Tangiers. During the period often termed the "Scramble for Africa", in 1884 Spain acquired what is now Western Sahara. Spain occupied Sidi Ifni and Western Sahara jointly, although the latter was known at the time as Spanish Sahara, Río de Oro or Saguia el-Hamra.