 Though militarily victorious in the 1957–58 Moroccan invasion of Spanish West Africa, Spain gradually relinquished its remaining African colonies.Spanish Guinea was granted independence as Equatorial Guinea in 1968, while the Moroccan enclave of Ifni had been ceded to Morocco in 1969.Two cities in Africa, Ceuta and Melilla remain under Spanish rule and sovereignty.