After taking part in the Battle of Sabugal in April and in the Battle of El Bodón in September he assisted in the siege of Ciudad Rodrigo and the Battle of Badajoz in 1812. Made a lieutenant in July he was present at the battles of Battle of Salamanca and Vittoria, where the 52nd carried the village of Magarita. He took part with his regiment in the combats in the Pyrenees in July and August, the Battle of Vera in October, the Battle of Nivelle in November, the Battle of the Nive in December, the Battle of Orthes in February, 1814 and the fighting at Tarbes in March. At the final Battle of Toulouse in April, he was the first man in the British army to enter the town when, having observed the French retreat when in command of an advanced picket, he pressed on to take possession of the town. At the end of the war the regiment was put on garrison duty at Castelsarrasin on the Garonne, and afterwards was sent to Ireland.