After the failed attempts of Junot and Soult in 1807 and 1809, Napoleon Bonaparte sent a powerful army, commanded by Marshal Massena, to invade Portugal in 1810. The French easily reached the centre of the country, where the Anglo-Portuguese army, led by General Wellington, was waiting.