In the Siege of Almeida, the French corps of Marshal Michel Ney captured the border fortress from Brigadier General William Cox's Portuguese garrison. This action was fought in the summer of 1810 during the Peninsular War portion of the Napoleonic Wars. Almeida is located in eastern Portugal, near the border with Spain.