The force that captured Almeida was part of a major Franco-Spanish offensive to overrun Portugal. A northern pincer invaded Portugal from Galicia crossing the Douro and threatening Porto while the southern force crossed the border from Ciudad Rodrigo and proceeded towards the major Portuguese fortification of Almeida. It was captured after a nine-day siege,[2] but a further Spanish advance was stalled by the arrival of 8,000 British troops - and their disruption of Spanish supplies at the Battle of Valencia de Alcántara.
Almeida was garrisoned by Aranda, but it remained the only major fortress in Spanish hands by the close of the war. It was returned to the Portuguese following the Treaty of Paris in exchange for the return of Havana and Manila to Spain by the British.[3]