When was the case settled ?
Diego Garcia had no permanent inhabitants when discovered by the Spanish explorer Diego García de Moguer in the 16th century , then in the service of Portugal , and this remained the case until it was settled as a French colony in 1793 .