Alfonso XI of Castile
In 1333 the Moors retook Gibraltar after a lengthy siege, and the Spanish under Alfonso XI of Castile were unable to recapture it.