When war broke out with Spain in 1727, Cotton's were part of the force that resisted the Spanish Siege of Gibraltar. The regiment returned to England in the following year. It remained there until 1742, with the name changing with the colonelcy: Kerr's Regiment of Foot (Lord Mark Kerr) in 1725, Middleton's Regiment of Foot (Brigadier-General John Middleton) in 1732 and Pulteney's Regiment of Foot (General Harry Pulteney) in 1739.