Castle of Jimena de la Frontera
It served as one of many castles guarding both the approach to the fortifications around Gibraltar and the Bay of Algeciras where the strategic and important Moorish stronghold and fortress of Algeciras was located . 
<triplet> Gibraltar <subj> Bay of Algeciras <obj> located in or next to body of water