Spain’s conservative People’s Party (PP), led by Alberto Núñez Feijóo, has won the snap elections, ending eight years of Socialist Prime Minister Pedro Sánchez’s rule and bringing far-right Vox closer to entering government, a development welcomed by Israel as an opportunity to restore diplomatic ties after years of tensions over the Gaza genocide.

Israeli Foreign Minister Gideon Sa’ar congratulated Feijóo and Vox leader Santiago Abascal on their electoral gains, describing the outcome as an “impressive victory” and a “great change” for Spain. He expressed hope that the change in leadership will allow both countries to restore relations.

The PP and Vox secured more than 48 percent of the vote between them, putting them ahead of outgoing Prime Minister (PM) Pedro Sánchez’s Socialists and their allies. Together with a small centre-right party in the Navarra region, the two parties are on course to secure a 10-seat majority in parliament.

Sánchez, who spent eight years in power, acknowledged the defeat of his political bloc, saying that the “progressive bloc” had not secured enough support. However, he urged his party not to give up.

Addressing supporters, Feijóo said, “Spain has called for change, and sweeping change.” He also pledged that the PP will govern for all Spaniards, “no matter who they voted for”.

Although the conservatives gained more than a million votes compared with the previous election three years ago, Spain’s electoral system resulted in the party losing seats in parliament. Its alliance with Vox, however, has put the right-wing parties in a position to form a majority.

Vox leader Santiago Abascal welcomed the result, declaring, “Mission accomplished, he’s leaving, he’s leaving,” in reference to Sánchez.

The outcome has drawn frenzied attention across Europe, where several key European Union (EU) member states are due to hold elections over the next year. Sánchez had been among a small number of left-wing leaders still in power in the continent.

In France, National Rally leader Marine Le Pen remains a leading contender for next spring’s presidential election. Her party belongs to the same Patriots for Europe group in the European Parliament as Vox.

French President Emmanuel Macron, who is leaving office, said that France was “ready to work together for a stronger and more sovereign Europe, true to its values”. Italian PM Giorgia Meloni, who has maintained ties with Abascal, also congratulated the conservatives and Vox, wishing them “best wishes for a successful start”.

In Madrid, supporters gathered outside the PP headquarters on Calle de Génova, waving Spanish and party flags as the election results confirmed the end of Sánchez’s eight-year government, commonly referred to as Sanchismo.

More than 1.6 million Spaniards became eligible to vote for the first time on Sunday. The results also pointed to a shift among younger voters, with many choosing not to support the Socialists and their allies.

The election took place amid rising living costs and a 108 percent increase in house prices since 2013.

Sánchez had maintained a prominent position among international left-wing leaders, frequently clashing with President of United States (US) Donald Trump over Iran and Venezuela. He had also taken a stance against Israel over its genocide in Gaza.

However, his support at home had declined as political divisions deepened. Sánchez had hoped that turnout of just under 80 percent, one of the highest in the country’s history, will benefit the Socialists. Instead, his bloc lost ground, while his allies further to the left, now known as Frente Amplio (Broad Front), recorded a significant decline in support.

Feijóo rejected suggestions that his government will seek political revenge against its opponents. “That’s the past, not the present and certainly not the future,” he said. “We’re going to govern without fear and we aren’t going to lose a single day.”

The 65-year-old PP leader previously served as head of the north-western Galicia region for 13 years. A moderate conservative, he campaigned on a pledge of “good management, seriousness and hard work”.

Feijóo also led the PP to victory in 2023 but failed to secure enough parliamentary support to form a government. This time, the party has Vox as a potential partner, although both sides still need to decide whether they will enter a coalition.

Vox, which holds 52 seats, will likely take the junior position in any government agreement. Its participation will also mark the return of a far-right nationalist party to national government for the first time since Franco’s dictatorship ended in 1975.

The PP and Vox already work together in four Spanish regions, although their coalitions have produced varying results. At the national level, Vox will seek to advance its policy of “national priority”, which calls for giving Spanish citizens preference in subsidies and welfare.

The party also supports the repatriation of migrants who are in Spain illegally and the “remigration” of foreigners who do not contribute to the country.

During the election campaign, Feijóo avoided discussing a coalition with Vox and said that he had never discussed giving the party ministerial positions with Abascal.

The PP now faces the task of negotiating an agreement with Vox while seeking to maintain control over the next government’s centre-right programme. A deal between the two parties will be necessary if Feijóo wants to secure a stable administration.