never again was a muslim army able to invade the iberian peninsula. control of the straits of gibraltar was now held by the christians, specifically the castilians and the genoese. the war with granada continued for ten more years during which alfonso xi made a few small territorial gains from the western part of granada. most importantly, the town of algeciras, a valuable bridgehead held by the marinids was finally retaken after a two-year siege in 1344. this siege attracted volunteers from all over europe due to extensive publicity. an attempt to recapture gibraltar from the king of granada was frustrated, however castile had to settle for isolation of the citadel from the rest of muslim territory when peace was agreed in 1350, after the death of alfonso xi in his camp during the great plague. gibraltar was not captured until 1462.