Spain's Prime Minister Pedro Sanchez appears after he casts his vote at a polling station in Madrid
Spain's Prime Minister Pedro Sanchez appears after he casts his vote at a polling station during Regional elections, in Madrid, Spain, May 28, 2023. Reuters

Spain's ruling Socialists suffered heavy losses to opposition conservatives in Sunday's local election, with around 95% of the votes counted, showing their electoral vulnerability ahead of an end-of-year general election.

Only three of the 12 regions holding elections will retain Socialist dominance by very narrow margins, with the rest likely go to the conservative People's Party, albeit with coalitions or informal support agreements with the far-right Vox party.

"The map changes completely and is a boost for Alberto Nunez Feijoo - the new leader of the PP - ahead of the elections at the end of the year," said Ignacio Jurado, professor of political science at the Carlos III University.

The gains for the People's Party (PP) indicate the conservatives could unseat the current left-wing coalition led by the Partido Socialista Obrero Espanol (PSOE) if they replicate the performance in national elections by December.

The numbers showed few clear majorities, except in the Madrid region where regional president Isabel Diaz Ayuso of the PP looked set to win re-election with an absolute majority.

"In votes the right-wing bloc expands but not dramatically. But that swing is enough to shift the centre of gravity from the left to the right," Jurado said.

The main setbacks for the Socialists came from losses in the Valencia, Aragon and Balearic Island regions, as well as in one of the most important Socialist fiefdoms, the southwestern Spanish region of Extremadura.

"The tsunami that has swept through all the Spanish regions today has also swept through us," Javier Lamban, the outgoing Socialist president of Aragon, told a press conference where he admitted defeat.

Leadership in the Canary Islands will be decided by pacts but PSOE have few chances of retaining power.

PSOE spokesperson Pilar Alegria told a press conference that the results were not "what we hoped for."

In big cities such as Valencia and Seville, where mayors were also elected, the count turned in favour of the PP, which also won an absolute majority in the city of Madrid.

Barcelona was an outlier among big cities, with a pro-independence party winning the most votes by such a narrow margin that it will need an agreement with the Socialists to unseat the current mayor, far-left Ada Colau.

Campaigning had been marked by several controversies, from allegations of voter fraud in small towns to an unprecedented case of kidnapping.

The counting showed a return to a two-party system dominated by the PSOE and PP after a decade of greater involvement by smaller parties such as the left-wing Podemos and centrist Ciudadanos, which appeared largely to have lost its seats to the PP.

Spain's Prime Minister Pedro Sanchez casts his vote at a polling station during Regional elections, in Madrid
Spain's Prime Minister Pedro Sanchez casts his vote at a polling station during Regional elections, in Madrid, Spain, May 28, 2023. Reuters
The president of an electoral table opens the ballot box to count the ballots of the local elections, in Ronda
The president of an electoral table opens the ballot box to count the ballots of the local elections, in Ronda, southern Spain, May 28, 2023. Reuters
Members of an electoral table prepare to count the ballots of the local elections, in Ronda
Members of an electoral table prepare to count the ballots of the local elections, in Ronda, southern Spain, May 28, 2023. Reuters
A man helps his mother to cast her vote at a polling station during local elections, in Ronda
A man helps his mother to cast her vote at a polling station during local elections, in Ronda, southern Spain May 28, 2023. Reuters
Members of an electoral table count the ballots of the local elections, in Ronda
Members of an electoral table count the ballots of the local elections, in Ronda, southern Spain, May 28, 2023. Reuters
Folders of PSOE and PP are seen on a table at a polling station during the local elections, in Ronda
Folders of Spanish Socialist Workers Party (PSOE) and People's Party (PP) are seen on a table at a polling station during the local elections, in Ronda, southern Spain May 28, 2023. Reuters
Members of an electoral table hold a ballot of the Spanish far-right party Vox as they count the ballots of the local elections, in Ronda
Members of an electoral table hold a ballot of the Spanish far-right party Vox, as they count the ballots of the local elections, in Ronda, southern Spain May 28, 2023. Reuters