# Portugal–Spain relations

Portuguese-Spanish relations are closely aligned with one another, underpinned by shared membership of the Ibero-American Summit, Council of Europe, European Union, Eurozone, Schengen Area and NATO, and make up the vast majority of the Iberian Peninsula and Macaronesia.

## History
### Reconquista

After the Umayyad conquest of the Iberian Peninsula, a long process of reconquest (in Portuguese and Spanish: Reconquista) began. The Battle of Covadonga and the establishment of the Kingdom of Asturias are often regarded as the starting points of this process. Several Christian kingdoms emerged in the peninsula thereafter.
The County of Portucale, successively a vassal of the kingdoms of Asturias, Galicia, León, eventually rebelled and won Battle of São Mamede on 24 June 1128, led by Afonso Henriques, who, after defeating the Moors in the Battle of Ourique, proclaimed himself King of Portugal on 25 July 1139. Portugal's independence was recognized in 1143 by King Alfonso VII of León and in 1179 by Pope Alexander III. Portugal's Reconquista finished in 1249.
Spain began with the Union of the crowns of Castile and Aragon in 1469, although it was not until 1516 when they had a single unified King. Until then the word Hispania was only a geographic location referring exclusively to the Iberian peninsula. It was only in the constitution of 1812 that the name "Españas" (Spains) was adopted for the country along with the use of the title of "king of the Spains". The constitution of 1876 adopts for the first time the name "Spain" for the Spanish state and from then on the kings would use the title of "king of Spain". The Reconquista was finally over with the Fall of Granada in 1492.
An attempt to unite all Iberian medieval kingdoms failed with the death, in 1500, of Miguel da Paz, Prince of Portugal, Asturias, Girona and Viana.

### Overseas expansion

Portugal's copy of the Treaty of Tordesillas (1494) divided the New World between Portugal and Castile. During the 15th century, Portugal built increasingly large fleets of ships and began to explore the world beyond Europe, sending explorers to Africa and Asia. Castile followed suit decades later. Following the first Spanish voyage of Christopher Columbus to the Caribbean in 1492, both states began acquiring territory in the New World. As a result of the 1494 Treaty of Tordesillas, Portugal acquired its most potentially important colony, Brazil (much of the South American continent), as well as a number of possessions in Africa and Asia, while Castile took the rest of South America and much of the North American continent as well as a number of possessions in Africa, Oceania, and Asia as the important colony of the Philippines. This line of demarcation was about halfway between the Cape Verde Islands (already Portuguese) and the islands claimed for Castile by Columbus on his first voyage. Although the Treaty of Tordesillas attempted to clarify their empires, many subsequent treaties were needed to establish the modern boundaries of Brazil and the 1529 Treaty of Zaragoza was needed to demarcate their Asian possessions.

### Iberian Union

In 1578, King Sebastian of Portugal died in the Battle of Alcácer Quibir against the Moroccans and the Turks. Having no heirs, he was succeeded by his great-uncle Henry of Portugal, who reigned until his death (31 January 1580).
Henry also lacked heirs and his death triggered a succession crisis, where the main claimants to the throne were Philip II of Spain and Anthony, Prior of Crato. After the Spanish victory in the War of Portuguese Succession Philip of Spain was crowned king in 1581, beginning a personal union between the two nations known as the Iberian Union generating a decline of the Portuguese Empire during the period of Union. The Iberian Union lasted for almost sixty years until 1640, when the Portuguese Restoration War was initiated against Spain and Portugal reestablished the Portuguese dynasty under the Bragança.

### 18th century

During the wars of the 18th century, which were often fought by the major powers to maintain the European balance of power, Spain and Portugal usually found themselves on opposite sides. The Portuguese, courtesy of their long-standing alliance, aligned themselves with Great Britain, while Spain, through the Pacte de Famille, allied themselves to France. In 1762, during the Seven Years' War, Spain launched an unsuccessful invasion of Portugal.
In 1777 there was a conflict between the two states over the borders of their possessions in South America.

### 19th century and Napoleonic era

The War of the Oranges (Portuguese: Guerra das Laranjas; French: Guerre des Oranges; Spanish: Guerra de las Naranjas) was a brief conflict in 1801 in which Spanish forces, instigated by the government of France, and ultimately supported by the French military, invaded Portugal. It was a precursor to the Peninsular Wars, resulting in the Treaty of Badajoz, the loss of Portuguese territory, in particular Olivenza, as well as ultimately setting the stage for the complete invasion of the Iberian Peninsula by Spanish and French forces.
In 1807, the king of Spain and his French allies invaded Portugal successfully and unusually quickly, using a route that crossed through Spanish territory. However, the French decided to take over both countries, overthrowing the King of Spain and forcing the Portuguese royal family to escape to the Portuguese colony of Brazil. Spain and Portugal subsequently became allies for the first time in centuries and, allied to a British army under Sir Arthur Wellesley, drove the French back across the border in 1813 after a prolonged, brutal and victorious conflict for Spain and Portugal against the French known as the Peninsular War.
After the fall of Napoleon, both countries came close to war a number of times during the early 19th century. Both lost their American colonies shortly after the end of the Peninsular War, which severely weakened their global power.

### 1930s

The 1930s saw similar right-leaning, authoritarian and nationalist regimes emerge in both countries. In Portugal, António de Oliveira Salazar established his Estado Novo in 1933. In 1936, Francisco Franco launched a coup against the Spanish government and after three years of civil war, his nationalists were triumphant.
Both states remained neutral in World War II, though Spain was more predisposed to Nazi Germany. Portugal also maintained a friendly relationship with Nazi Germany, supplying it with many key resources such as tungsten. Yet in virtue of the 14th century alliance Portugal had with England, it was also supplying Britain with all sorts of produce and whilst the Germans had to pay immediately, Britain had an open account for most of the war. Later in the war, the Estado Novo regime agreed to the leasing of the Azores as a bases for Allied operations in Europe.
World War II came to a close in 1945. With the Allies victorious, a new status quo was set which favored regimes which were more ideologically similar to the victors. While Portugal and Spain were not democratic states, Portugal's membership in NATO as a founding father made Portugal less isolated than their counterpart, Spain, who was unable to join NATO due to their relationship with the Axis during WWII. Despite this, Spain, alike Portugal, still were opposed to the Soviet-led Warsaw Pact considered communist and left-wing movements threatened their regimes. Yet, the two nations suffered politically and economically due to their reluctance to liberalizing their national economies, and the stifling of freedoms and in order to preserve justice, order and political supremacy.
While the other European colonial powers, such as France, Britain and the Netherlands, gave up their colonial empires in the post-war years, both Spain and Portugal clung to their possessions around the globe. Portugal fought a costly colonial war in Africa and in 1961 saw its territory of Goa invaded by India. Despite their apparent mutual self-interest, there was very little co-operation between Spain and Portugal when it came to defending their empires.

### End of isolation

In 1974 the dictatorship of the Estado Novo was brought to an end by a military coup known as the Carnation Revolution. This left Spain increasingly isolated from the rest of Europe, which lasted until the death of Franco a year later, after which Spain returned to being a constitutional monarchy and embraced parliamentarism. The PREC that had followed the Carnation Revolution in Portugal came to an end in 1976 and Portugal also became a democracy. The two democracies signed the Treaty of Friendship and Cooperation between Spain and Portugal in 1977, replacing the Iberian Pact which was signed in 1939, whilst both countries were autocratic.
The two states gave independence to their former colonies, liberalized their economies and began the process of applying for membership of the European Economic Community. In 1986 the two states formally entered the Community, which is now known as the European Union, pursuant to the ratification of the Treaty of Lisbon.

## Present

Current relations between Spain and Portugal are excellent. They cooperate in the fight against drug trafficking and forest fires (common in the Iberian Peninsula in summers), for example. These close relations are facilitated by similar governments; such as the conservative governments of José María Aznar and José Manuel Durão Barroso and the social democratic governments of José Luis Rodríguez Zapatero and José Sócrates and between Pedro Sánchez and António Costa. Sócrates even claims that he has one of the best personal relations with Zapatero among international political relationships.
In 1998, both countries signed the Albufeira Convention, an agreement on the sharing of trans-boundary rivers such as the Douro, Tagus and Guadiana. The convention superseded an original agreement on the Douro, signed in 1927, that was expanded in 1964 and 1968 to include tributaries. The Albufeira Convention governs the equitable use of water and environmental concerns.
In 2009, the two countries submitted an unsuccessful joint bid to host either the 2018 or the 2022 FIFA World Cup.
In 2020, Portugal Prime Minister António Costa criticised the words of Dutch Finance Minister after he called for an investigation into Spain's proclaimed lack of budgetary capacity to cope with the COVID-19 pandemic, describing them as "repugnant". The same year, both countries also held a solemn border opening ceremony, which had been closed due to the COVID-19 pandemic crisis. They also announced, on 7 October, a joint bid to host the 2030 FIFA World Cup.
On 28 October 2021, Portugal and Spain signed a new Treaty of Friendship and Cooperation, renovating (even if not repealing) the one signed in 1977, during the 32nd Iberian Summit held in Trujillo held between the governments of Pedro Sánchez and António Costa. They also signed agreements relative to fish & game in the international river border of the Miño and to the launch of a Statute of the Cross-Border Worker.

## Later disputes
### Olivenza

There is an unsettled territorial dispute on the Portugal-Spain border regarding the municipality of Olivenza (Portuguese: Olivença) and the smaller municipality of Táliga, both currently administered as a part of the Spanish province of Badajoz, in the autonomous community of Extremadura. Olivenza had been under continuous Portuguese sovereignty since prior to 1297 when it was occupied by Spain in 1801 and formally ceded by Portugal later that year by the Treaty of Badajoz. Spain claims de jure sovereignty over Olivenza on the grounds that the Treaty of Badajoz still stands and has never been revoked.
Portugal claims de jure sovereignty over Olivenza / Olivença on the grounds that the Treaty of Badajoz was revoked by its own terms (which stated: the breach of any of its articles would lead to its cancellation) when Spain invaded Portugal in the Peninsular War of 1807 and, foremost, due to the fact that Spain signed the Treaty of Vienna in 1815, which according to Portugal recognizes Olivenza as Portuguese territory.

### Savage Islands' EEZ

Recently, Spain has also initiated a diffuse dispute regarding the Portugal's Exclusive Economic Zone (EEZ) in the waters around the Savage Islands (a small archipelago north of the Canary Islands), under Portuguese sovereignty. Spain objects on the basis that the Savage Islands do not have a separate continental shelf, according to the article 121 of the United Nations Convention on the Law of the Sea. The status of the Savage Islands as islands or rocks is thus at the core of the current dispute, mainly due to the area's interest regarding fishing and potential seabed mining. Today the Savage Islands constitute a natural reserve whose inhabitants are a small Portuguese Marine Corps combat detachment and two wardens of Madeira's Natural Park. Over the years the Portuguese authorities have seized some Spanish fishing boats and crew around the area for illegal fishing and theft of light beacons and navigation buoys.

### Almaraz Nuclear Power Plant and nuclear storage

As of 2017 Spain had approved a nuclear waste warehouse next to the Almaraz Nuclear Power Plant (which uses the Tagus river that flows into Portugal for cooling of the reactors), which is near the Portugal–Spain border, without carrying out any consultations or impact studies. Portugal has escalated the matter to the EU. Protests were planned for 12 January 2017 at Spanish consulates, organised by Movimiento Ibérico Antinuclear, which coincided with a meeting between Portuguese and Spanish delegates in Madrid. The meeting ended in deadlock and Portugal complained to the EU that Spain ignored potential cross-border impact, allegedly with no studies being carried out, which is against EU rules according to Portugal.
Spanish secretary of State for the EU Jorge Toledo Albiñana said work will start regardless of Portugal's concerns and "uranium bars that will remain radioactive for the next 300 years" will be stored on-site.

## European Union

Both countries became members of the European Union in 1986.

## NATO

While Portugal was one of the founding members of NATO, Spain joined NATO in 1982.

## Resident diplomatic missions

* Portugal has an embassy in Madrid, consulates-general in Barcelona and Seville, and a vice-consulate in Vigo.
* Spain has an embassy in Lisbon and a consulate-general in Porto.
* Embassy of Portugal in Madrid
* Consulate-General of Portugal in Barcelona
* Embassy of Spain in Lisbon