• Analysis
Pedro Sanchez election defeat ends eight years of Socialist rule in Spain
Spanish Prime Minister Pedro Sanchez conceded defeat in Sunday's general election after eight years in power, with his Socialist party finishing second and short of the parliamentary support needed to govern.

The survivor's run ends
Pedro Sanchez conceded defeat on Sunday in a general election his Socialist party finished second, ending eight years of minority rule and his run of surviving political trouble. The 54-year-old leader had built a reputation for returning stronger than critics expected.
"Polls? I've been written off as retired many times and I'm still here," he said in a television interview last week.
The man who titled his political autobiography "Resistance Manual" first took power unexpectedly in 2018, when a no-confidence motion ousted his conservative predecessor Mariano Rajoy, and he did so after surviving an internal party revolt.
What his governments delivered
Sanchez's time in office brought a series of social and economic changes, and his governments won praise from some academics for who they aimed at. "Sanchez has pursued policies aimed at people who have the greatest difficulty making ends meet," Ana Sofia Cardenal, a political science professor at the Open University of Catalonia, told AFP.
- •Expanded transgender rights and the legalisation of euthanasia
- •A scheme to regularise undocumented migrants, while Spain's economy outpaced many of its neighbours
- •A higher minimum wage and curbs on temporary contracts through a major labour-market reform
Abroad, he was one of the most outspoken critics of what he described as Israel's "genocide" in Gaza, an accusation the country rejected.
The pressures that caught up
The defeat followed a term in which his minority government failed to pass a new budget and faced successive shocks: devastating floods in Valencia in 2024 and two high-speed train accidents this year that killed more than 100 people. Solid economic growth did not translate into improved living standards, largely because of inflation and soaring housing costs.
Alberto Nunez Feijoo, head of the conservative Popular Party that finished first in the election, said during the final televised election debate on Thursday:
"This has been the term of impossible housing."
Corruption investigations also weighed on the government, most notably the case of former transport minister and close confidant Jose Luis Abalos, who was sentenced to 24 years in prison in June. In July, more than 70,000 people crossed from Morocco into the Spanish territory of Ceuta, drawing fierce criticism from the opposition and particularly far-right Vox.
A further vulnerability was the Catalan amnesty he granted after the 2023 election, when he secured another term with backing from smaller parties by offering an amnesty for Catalan separatists involved in the failed 2017 independence bid. He had previously opposed the measure, a U-turn that angered the right and prompted accusations of betrayal.
What comes next
The result raises the prospect of a government of the Popular Party with far-right Vox, which would place a far-right party in Spain's national government for the first time since democracy returned in the 1970s. Among Socialists, the mood was grim.
"Rather than the end of an era, it is the beginning of a catastrophe," said Toni Alba.
Alba, a 54-year-old Socialist Party activist, fears a rollback of progressive policies. "International affairs have been a kind of safe haven for him," said Toni Rodon, a political science professor at Barcelona's Pompeu Fabra University.



