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).