Фердинанд IV
A tower was built at the end of the wall by the Spanish after Ferdinand IV of Castile took Gibraltar from the Moors in 1309.