Guerra de las Naranjas
The town of Olivença was under Portuguese sovereignty between 1297 (Treaty of Alcañices) and 1801, when it was invaded by the Spanish during the War of the Oranges and ceded to Spain that year under the Treaty of Badajoz. Spain has since administered the territory (now split into two municipalities, Olivenza and also Táliga), whilst Portugal invokes the self-revocation of the Treaty of Badajoz, plus the Treaty of Vienna of 1815, to claim the return of the territory. In spite of the territorial dispute between Portugal and Spain, the issue has not been a sensitive matter in the relations between these two countries. Olivenza and other neighbouring Spanish (La Codosera, Alburquerque and Badajoz) and Portuguese (Arronches, Campo Maior, Estremoz, Portalegre and Elvas) towns reached an agreement in 2008 to create a euroregion.