Gibraltar was uninhabited during ancient times due in part to a lack of easily accessible water to support a permanent population,[REF] but in the 11th century the Moors established a fortified stronghold there in response to military threats from the Christian kingdoms of Aragon and Castile [REF].
Historical sources conflict on exactly how much groundwater was available in Gibraltar.