Meanwhile, the 2nd battalion was deployed to Gibraltar in 1809 and to Portugal in 1811 for service in the Peninsular War. The battalion took part in the Battle of Barrosa in March 1811 and the successful siege of Tarifa in December 1811. The battalion was victorious at the Battle of Vitoria in June 1813 and took part in the successful but bloody siege of San Sebastián in August 1813. At San Sebastián the battalion lost 17 of its 22 officers and almost half the other ranks. The battalion then crossed the River Bidasoa and pursued the French Army into France fighting at the Battle of the Nive in December 1813 and taking part in the Battle of Bayonne in April 1814 before returning home and being disbanded at Portsmouth.