Spain’s conservative and far-right parties are on course to win enough seats to form a coalition and unseat incumbent Prime Minister Pedro Sanchez.

With 92 percent of Sunday’s vote counted, the People’s Party (PP) was projected to win about 134 seats, and Vox to win 53, improving on its 2023 result of 33 seats. Sanchez’s Spanish Socialist Workers’ Party (PSOE) was projected to finish second with 115 seats.

Recommended Stories

list 1 of 3Will Spain vote in the right wing for the first time in 50 years?

list 2 of 3Spain votes as far right eyes first government role in half a century

list 3 of 3Spain votes in snap election dominated by housing and immigration issues

The combined seats bring PP and Vox over the 176 needed to govern in the 350-member parliament.

An alliance between the two parties would end Sanchez’s eight years in power and bring the far right into national government for the first time since Spain returned to democracy following dictator Francisco Franco’s death in 1975.

The PP, led by Alberto Nunez Feijoo, already shares power with Vox in four regions. However, analysts cited by the Reuters news agency before the election said Vox could also support a conservative minority government without holding ministerial posts.

Spain’s Interior Ministry said turnout reached 79.1 percent by 8pm local time (19:00 GMT), when polling stations closed.

Housing, immigration and the battle for power

The housing crisis has overshadowed the economic gains under Sanchez, whose government has increased the minimum wage and overseen a fall in unemployment to its lowest level in almost two decades.

Corruption investigations involving figures close to the prime minister have also put his leadership under pressure.

Immigration has been another major point of contention during the campaign.

While Sanchez has defended the contribution of migrants to Spain’s economic growth, Feijoo and Vox leader Santiago Abascal have argued that immigration is putting additional pressure on housing and public services.

Vox has campaigned for stricter immigration controls and wants Spanish citizens to be given priority in accessing housing.

A potential shift to the right in Spain’s government comes ahead of elections in France, Italy, Greece and Poland next year, as nationalist parties seek to expand their influence across Europe.

However, finishing first does not guarantee control of the government.

The PP won most votes in 2023, but Sanchez secured another term with parliamentary backing from smaller left-wing parties and groups seeking independence for parts of Spain.

The new parliament is due to convene in December, when legislators will be tasked with choosing the next prime minister.