BARCELONA, Spain (AP) — Spaniards vote in a general election Sunday, where Prime Minister Pedro Sánchez is seeking another term against conservative Alberto Núñez Feijóo and far-right candidate Santiago Abascal. Abascal hopes to help Feijóo form a right-wing coalition.

Sánchez, 54, has led a progressive government since 2018. The Socialist Party leader is a trained economist and a fierce campaigner who has repeatedly beaten political odds. In 2023, after the Socialists suffered losses in regional elections, he called a general election the next day and campaigned on fears of the far right entering government. He remained in office after forming another left-wing coalition.

Sánchez has taken strong positions against U.S. President Donald Trump, the U.S.-Israeli war against Iran and Israel’s military operations in Gaza. He has maintained pro-migration policies amid a wider anti-immigration mood in the developed world. His government has overseen Europe's fastest growing major economy for several years, but rising housing costs have continued to fuel anger.

His campaign faces legal cases involving alleged corruption by a former minister and top officials in his party, as well as his wife, who denies wrongdoing. His prospects may depend on smaller left-wing parties doing better than polls predict.

Feijóo, 65, leads the Popular Party. A longtime civil servant turned politician, he presents himself as a moderate and effective center-right administrator. He governed Galicia for 13 years, winning repeated elections there, and took over his party in time to lead it in the previous general election, when he failed to oust Sánchez.

Feijóo wants to reduce government regulations and lower taxes, and is staunchly pro-European Union, like Sánchez. If elected, he is expected to mend bridges with the U.S. and Israel. The Popular Party has maintained broad support, backed by a vote-winning organization with roots in Madrid and many rural provinces.

Abascal, 50, leads Vox, the far-right party he helped found in late 2013 after leaving the Popular Party. From Spain’s northern Basque Country, he has said his ultranationalist ideology was shaped by the violence of separatist group ETA, which disbanded in 2018.

A staunch defender of Israel, Abascal has strongly criticized Sánchez’s position toward the country. He wants to cut taxes and regulations for businesses, admires Argentina's President Javier Milei and attacks progressive causes, including feminist thought, while dismissing climate change. Vox is not openly hostile to the EU, but Abascal blames immigration for Spain’s cost-of-living pains.

After losing seats in the 2023 election, Vox is seeking a rebound that could give it leverage to demand ministries as a junior partner in a government led by Feijóo. Far-right parties have been excluded from government in Spain since democracy returned following Franco's death in 1975.

Smaller parties could matter if the vote is close. “Se Acabó la Fiesta” (The Party Is Over), the political vehicle of a far-right social media influencer, offers an option for right-wing voters who find Vox too mild.

Infighting prevented smaller progressive parties from rebuilding the electoral coalition that helped keep the left in power in 2023. The Frente Amplio (Broad Front) and Podemos (We Can) will compete for the most left-leaning voters, a split that could hurt both parties and Sánchez’s chances of forming another coalition.

Regionalist parties in Catalonia, the Basque Country, Galicia and the Canary Islands focus on how policies and laws affect their home territories. They could help form a governing coalition if the results are close.