War of the Oranges
With the intervention of French forces during the Peninsular wars Elvas, once again took on the frontlines of the battle between Spain and Portugal. Supported by French forces of Manuel de Godoy, during the campaign known as the "Guerra das Laranjas" ("War of the Oranges"), Elvas was attacked by Spanish forces in 1801 however, Godoy was unable to siege the fortress due to insufficient troops and supplies.