Spain is heading to a potentially historic election, with the country’s conservative opposition tipped to form government after eight years of socialist rule.

More than 38 million people are eligible to vote in the snap election on Sunday, with Prime Minister Pedro Sánchez fighting to retain power against the conservative People’s Party (PP), led by Alberto Núñez Feijóo.

Opinion polls put PP narrowly ahead of Sánchez’s Spanish Socialist Workers’ Party (PSOE), but suggest it will fall short of the 176 seats needed for a majority in the 350-seat Congress of Deputies.

That could leave Mr Feijóo reliant on support from Vox, whose leader Santiago Abascal has overseen a surge in support for the nationalist, anti-immigration party.

The election was called eight months early after Mr Sánchez’s minority government failed to pass emergency housing measures, following public anger over soaring rents and property prices.

That anger spilled onto the streets, leading to Spain’s first general strike in 14 years on November 11.

An eviction involving 87-year-old pensioner Maricarmen Abascal became a symbol of the crisis after she was removed from her Madrid apartment in September when she could not afford a proposed rent increase of more than 200 per cent.

She died in hospital two weeks later, before she could return to the property after her landlord agreed to lower the rent.

Housing has become a major issue, with Mr Sánchez proposing restrictions on rent increases and evictions, while PP has promised to build one million homes and lower taxes.

Immigration has also dominated the campaign, with Vox calling for mass deportations and policies that would give Spanish citizens priority for housing and public services.

The party has capitalised on public unease following the arrival of tens of thousands of migrants in the Spanish North African territory of Ceuta from neighbouring Morocco in July.

Mr Sánchez, meanwhile, has defended his government’s immigration policies, including a programme to grant legal status to hundreds of thousands of undocumented migrants.

Corruption allegations involving people close to the prime minister, along with two deadly train crashes that killed more than 100 people combined – including two Australians – have added to pressure on his government.

The result could also have implications beyond Spain, one of the European Union’s largest economies and its most prominent remaining left-wing-led member state.

A shift to a PP-Vox government could bring a tougher approach to immigration, defence spending and relations with Israel.

Mr Sánchez has urged voters to reject what he describes as a move backwards, warning that a victory for the right could threaten the rights of women, workers and migrants.

But after eight years in office, he faces a difficult fight to secure another term.

Read related topics:Europe News