In 1704, Barrymore's Regiment moved to the Iberian Peninsula taking part in the defence of the recently-captured Gibraltar (1704–05) and the Siege of Barcelona (1705). In 1706, the bulk of the regiment was converted into a regiment of dragoons due to a shortage of cavalry. Barrymore returned to England with a small cadre; the regiment was re-raised and returned to Spain. The unit fought at the Battle of Almanza (1707), the Battle of La Caya (1709), the Battle of Tortosa (1711) and the Battle of St Mateo (1711). In 1711, the regiment started a long period of garrison duty at Gibraltar. In 1715, they became Cotton's Regiment of Foot when Stanhope Cotton succeeded Barrymore.