Pedro Sanchez's Socialists lost Sunday's election to the People's Party, which is expected to form a coalition with Vox. The result removes from power a prominent centre-left leader who championed liberal immigration policies, recognition of a Palestinian state and climate action, and who clashed with Donald Trump.

The People's Party and Vox have pledged sharply different approaches on many issues Sanchez championed, from migration to housing policy. Turnout reached 68.1% by 6 p.m. (1700 GMT), up from 53.1% at the same time in the previous national ballot in July 2023.

Sanchez, one of Spain's most internationally prominent leaders, pushed for a more liberal approach to immigration and was a lone voice in Europe as hardline stances gained traction. He angered Trump by refusing to let U.S. military aircraft use Spanish bases for the war in Iran and over Spain's opt-out of NATO spending targets. Spain, along with Norway and Ireland, was in 2024 one of the first in Western Europe to recognise Palestinian statehood. A Belgian diplomat told Reuters that with a pro-Israel coalition set to take power, momentum for more pressure on Israel might slow.

Carla Hobbs of the European Council on Foreign Relations said Spanish foreign policy had seen a "total turnaround" under Sanchez, and that his likely successor, Alberto Nuñez Feijoo, was expected to be more insular. An EU diplomat described Sanchez as "the guardian of checks and balances" whose exit would allow advocates of a harder migration line to "move more freely." Nic Lawley of Chatham House said anti-immigration advocates in Brussels would be happy to see the back of him.