Socialist Prime Minister Pedro Sanchez made a final campaign appeal on Friday ahead of Spain’s general election on Sunday, urging people to “vote, vote, vote” to stop the country from going “backwards.”

Opinion polls suggest the conservative People’s Party (PP) will finish first, potentially ending Sanchez’s eight years of leftist leadership. The PP may need support from the far-right, anti-immigration Vox party to form a government. A hung parliament is also possible, with neither the right-wing coalition nor the left bloc winning a majority.

The vote is also described as a crucial opening to a round of elections on the continent and another test of the region’s shift to the right.

Sanchez has campaigned on his record of boosting Spain’s economy while European Union partners struggled. He has also pointed to increases in the minimum wage and pensions in line with inflation. But voters are frustrated by the soaring cost of living and say they cannot enjoy the benefits of economic growth. Many young people are unable to leave their parents’ homes because of very high rental prices.

At his final rally in Madrid, Sanchez said the “elections are about moving Spain forward, not moving it backwards.” He warned that a right-wing coalition with far-right members in parliament would reverse years of social progress and gut public services, and said a “progressive majority is within our reach.”

Oscar-winning Spanish film director Pedro Almodovar attended the rally. Sanchez wore a red T-shirt bearing the words “the power of the people.” He has also become a standard-bearer for Europeans frustrated with the Trump administration.

PP leader Alberto Nunez Feijoo, who has said he wants to maintain good relations with US President Donald Trump, dismissed Sanchez’s campaign as one of “fear.” Feijoo won the most seats in the 2023 elections but could not form a government.

At his campaign finale in Seville, in the south, Feijoo told supporters: “And when a government has nothing to offer but fear, it means it has nothing else left to offer,” and said: “Governing is about managing, and I have spent my whole life preparing for this moment.” Feijoo built his career running central public bodies and the northwestern Galicia region. He has advocated tough immigration policies and stronger border management.

Vox leader Santiago Abascal supports a much tougher approach to immigration, and his party has advocated mass deportations. At a closing rally in a bullring in Valencia, in the east, he told supporters: “Vote out of fear. Vote with courage.”

“What we are up against is a criminal mafia led by a ruthless boss, a liar,” Abascal said, referring to corruption scandals surrounding Sanchez and his government.