In 1810 he returned to Portugal with the 45th Regiment and, as part of the 3rd Division commanded by Lieutenant-general Sir Thomas Picton, fought in the battles of Bussaco (September 1810), Sabugal (April 1811), Fuentes de Oñoro (May 1811), El Bodón (September 1811), Ciudad Rodrigo (January 1812), Badajoz (March – April 1812, where he was appointed as brigade major for Major-General Sir James Kempt's brigade), Salamanca (July 1812), and Buen Retiro Palace (Madrid, August 1812, where a significant French garrison was surrendered).