Spain’s conservative Popular Party and far-right Vox were projected to win a combined parliamentary majority after Sunday’s election, opening the possibility of the country’s first government involving the far right since democracy returned half a century ago. With almost all ballots counted, the PP was expected to take 134 seats and Vox 52, giving them 186 seats together. Prime Minister Pedro Sanchez’s Socialist Workers’ Party was projected to finish second with 116 seats.

PP leader Alberto Nunez Feijoo now faces negotiations over how to govern. The 65-year-old former president of Galicia has expressed a preference for a minority administration backed by Vox in parliament, while keeping a coalition possible. Vox’s gains have strengthened its bargaining position. Juan Luis Manfredi, a professor of international studies at the University of Castilla-La Mancha, said the party could influence migration, climate, culture and territorial policy whether it secured cabinet posts or supported the government from outside.

King Felipe VI will consult party representatives before nominating a candidate for prime minister. Approval on the first parliamentary ballot requires 176 votes in the 350-seat Congress of Deputies. A second ballot, held 48 hours later if necessary, requires more votes in favour than against. Negotiations proved decisive after the 2023 election, when the PP finished first but could not assemble sufficient support, allowing Sanchez to build a majority with left-wing and Catalan and Basque pro-independence parties.

Supporters celebrated outside PP headquarters in central Madrid, while a smaller, subdued crowd gathered at Socialist headquarters after Sanchez conceded. His party avoided a collapse, but parties to its left fell collectively from 31 seats in 2023 to 17. Carles Ferreira, a politics lecturer at the University of Girona, said internal disputes had hurt those parties and that some of their former voters had shifted to the Socialists.

The snap election followed parliament’s rejection of two renter protection measures after mass demonstrations over housing costs and evictions. Turnout reached 79.5 percent, the highest since the record-setting 1982 election. Steven Forti, a contemporary history professor at the Autonomous University of Barcelona, said strong mobilisation on the left had been insufficient to counter the right’s turnout and widespread dissatisfaction with Sanchez’s government.

The campaign focused heavily on Sanchez’s eight years in office. Opponents attacked corruption cases involving his inner circle, an amnesty for Catalan separatists, two deadly train crashes and the handling of a migration crisis in Ceuta. Housing shortages and living costs also frustrated voters. Although the European Commission forecasts economic growth of 2.6 percent this year, more than twice the Eurozone average, those concerns remained central to the contest.

Vox campaigned on giving Spanish citizens priority for public benefits and ending the route through which undocumented migrants can apply for residence and work permits. The PP also advocated tougher migration policies, lower taxes and reduced social spending. In Andalusia, where the parties already govern together, their agreement prioritises people with longstanding regional or Spanish ties for benefits and subsidised housing.

A national coalition could also change Spain’s foreign policy. Forti said he expected closer relations with Israel and the United States under President Donald Trump, alongside acceptance of NATO’s spending target of 5 percent of gross domestic product. He said a PP and Vox government would further strengthen cooperation between mainstream conservatives and parties to their right across Europe.