On the eve of the Vitoria Campaign, in 1813, Lecor is placed again at the command of the Portuguese Brigade (later numbered sixth) of the seventh Division of the Anglo-Portuguese Army, under the command of Lord Dalhousie. He is promoted to Major General (Marechal de Campo) on June 4, 1813. He then goes on to fight in the Battle of Sorauren, as brigade commander and the Battle of Nivelle, as acting commander of the 7th Division. He is then placed as the commander of the Portuguese Division, where he is till the end of the war, participating at the Battle of the Nive, on its last day, also called the Battle of St. Pierre.