Olivença (Spanish: Olivenza) is a territory disputed by Portugal and Spain. The territory was under Portuguese rule between 1297 (Treaty of Alcañices) and 1801. Then, it was occupied and ruled by Spain. After the Napoleonic Wars, Spain promised to give Olivença back to Portugal. It still has not done this to this day.