In 1802, the Rifle Corps was brought into the line of the British Army as the 95th Regiment of Foot. In 1803, the 95th moved to Shorncliffe Army Camp, Kent, where it underwent light infantry training, along with the 43rd and 52nd Regiments of Foot, under the tutelage of Colonel Coote-Manningham and Sir John Moore; the latter, like the 95th, would gain fame during the Peninsular War. In 1805, a 2nd Battalion was raised at Canterbury, Kent, and later in the year the 1st/95th deployed to Germany as part of a British expedition, under the command of Lord Cathcart, designed to liberate Hanover from occupation by France. The 95th subsequently formed the advance guard on the way to Bremen. In February 1806, the 95th formed the rearguard for the withdrawal to Cuxhaven and subsequently returned home to the UK.