Olivenza or Olivença is a town situated on a disputed section of the Portugal–Spain border. It is administered de facto by Spain, as part of the autonomous community of Extremadura. Portugal holds a claim on the town and its surrounding territory.As Olivença, the town 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 then ceded to Spain under the Treaty of Badajoz. Spain has since administered the territory (now split into two municipalities, Olivenza and 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.