Spanish Prime Minister Pedro Sánchez resigned Monday as leader of the Spanish Socialist Workers' Party (PSOE), ending eight years in power after conservative and far-right parties secured a parliamentary majority in Sunday's national election.
The conservative Popular Party (PP), led by Alberto Núñez Feijóo, and the far-right Vox secured a combined 184 seats in Spain's 350-member lower house of Parliament, surpassing the 176 needed for an absolute majority.
The election sets the stage for Spain's first national government to include a far-right party since the death of dictator Francisco Franco in 1975. "Yesterday, unfortunately, the parties of the left weren't able to win a majority, while another coalition was. That can't be ignored," Sánchez said Monday at the Socialist Party's headquarters.
The 54-year-old politician also announced that he would relinquish his parliamentary seat and step down as president of the Socialist International, an organization representing progressive political parties worldwide.
Sánchez will remain acting prime minister with limited powers until Parliament convenes in December to select his successor. His departure marks a significant political shift for Spain, which under his leadership championed progressive policies on women's rights, renewable energy and Palestinian statehood.
The election results also reflect a broader shift toward the political right across Europe, where immigration restrictions and concerns over the cost of living have become increasingly prominent electoral issues.
Sánchez called a snap election in October, betting that his government's social welfare policies and recent victories by left-leaning parties internationally could help mobilize Spanish voters.
Despite near-record turnout, his strategy failed. The Socialists lost five parliamentary seats, retaining 116, but the collapse of several smaller left-wing parties eliminated Sánchez's chances of assembling another governing coalition.
Housing affordability emerged as one of the most pressing issues during the campaign, overshadowing Spain's relatively strong economic performance compared with other European Union countries.
According to Spain's National Statistics Institute, two-thirds of Spaniards between the ages of 18 and 34 were still living with their parents in 2025. Nearly half of those between 26 and 34 cited their inability to afford rent or purchase a home.
The housing crisis sparked widespread demonstrations across the country, highlighting the disconnect between Spain's economic growth and the financial circumstances of many households.
Sánchez's administration also faced mounting pressure over corruption investigations involving former officials and members of his political inner circle. He apologized for confirmed instances of corruption while maintaining that he had been unaware of the misconduct.
Additional challenges included a migration crisis in Ceuta and two deadly high-speed train accidents that raised questions about the management of Spain's railway infrastructure. Feijóo capitalized on those controversies while criticizing Sánchez's inability to secure parliamentary approval for a new national budget for nearly four years.
Sánchez first became prime minister in 2018 after successfully leading a no-confidence motion against conservative Prime Minister Mariano Rajoy. He subsequently demonstrated considerable political resilience, particularly following the 2023 election, when the Popular Party won the most seats but failed to secure enough support to govern. Sánchez negotiated agreements with smaller parties to remain in office.
Internationally, he gained prominence as one of Europe's leading progressive politicians. His refusal in 2025 to endorse a NATO defense spending increase supported by other alliance members also drew criticism from U.S. President Donald Trump.
A caretaker leadership committee will oversee the Socialist Party through Spain's municipal and regional elections in May. The party will subsequently hold a congress to elect Sánchez's replacement.
Although he is stepping away from frontline politics, Sánchez indicated that he intends to remain involved in progressive causes. "I will no longer be at the front, but I will be there to fight for every just cause, to fight for equality," Sánchez said.