Between 1809 and 1813, Lecor acts as commander of several units in the Portuguese Army, mainly brigade-level, and as military commander of the Beira Baixa region, based in Castelo Branco. He is promoted to Brigadier General on May 8, 1811. For a brief period in 1811, he commands the Portuguese Brigade of the Allied 7th Division. He participates in the Bussaco campaign, as well as the Lines of Torres Vedras, under general Rowland Hill.