Spain's conservative Popular Party (PP) won Sunday's snap general election and, together with the right-wing nationalist party Vox, took enough seats in parliament to form a government, setting up the end of Prime Minister Pedro Sánchez's eight years in office. Sánchez conceded on election night and said he had telephoned the Popular Party leader, Alberto Núñez Feijóo, to congratulate him, CBS News reported.

With 99.6 percent of the vote counted, the Popular Party was on course for 132 seats, Sánchez's Spanish Socialist Workers' Party (PSOE) for 116 and Vox for 52, the Guardian reported. Adding the seats of the conservative Navarrese party UPN, the right-wing bloc stood at 186 in the 350-seat Congress of Deputies, 10 more than the 176 needed for a majority. A DW live report drawing on wire services said the two main right-wing parties had cleared the 176-seat mark with 99 percent of ballots counted.

Feijóo is in line to become prime minister if his party and Vox agree, as is widely expected, to form a coalition, CBS reported, and Europa Press likewise noted that his route to the Moncloa palace runs through a pact with Vox. The new Congress will convene on Dec. 23, with Sánchez staying on as caretaker with limited powers, according to the Guardian, which reported that the formal vote to install a prime minister is likely to come only after the holiday season ends with Epiphany on Jan. 6. If no prime minister is approved within two months, a new election would follow in late spring. Vox has never held a place in a national government, and El País reported that its leader, Santiago Abascal, would in all likelihood become deputy prime minister.

Vox changed the arithmetic. The party gained 19 seats to reach 52, matching the high it set in November 2019, according to Europa Press, while the Popular Party's own total slipped slightly from the 137 seats it won in 2023. Three years ago the right came close to a majority but fell short of what it needed to govern; this time, El País wrote, the surge by Vox was what made the shift possible.

Turnout topped 78 percent, the highest in 40 years, according to the Guardian. Sánchez had argued during the campaign that participation of 75 percent or more could deliver a progressive majority. Turnout cleared that bar comfortably, yet the Socialists did not even finish first, El País noted, although they held close to 30 percent of the vote.

The heaviest losses came further to the left. The Broad Front, the left-wing coalition that ran as Sumar in 2023, fell from 31 seats to 10, Europa Press reported. Among the regional parties, the Republican Left of Catalonia rose to 11 seats, while the Catalan pro-independence party Junts, whose votes had been pivotal to Sánchez's hold on power, slipped from seven seats to five, and the Basque Nationalist Party fell to three.

Speaking at Socialist headquarters in Madrid, Sánchez said his party accepted the outcome without suspicion, without qualification and without any conspiracy theory, Europa Press reported. He did not say whether he would remain party leader, and he promised that if the right formed a government, the Socialists would lead the opposition and let nothing pass unchallenged. "Today is a sad day for our country," he said, according to CBS, adding that the party had not achieved its goal of keeping a progressive government together.

"Mission complete!" Abascal told a cheering crowd of Vox supporters, CBS reported. Feijóo, for his part, singled out Abascal for congratulation as the candidate who had grown the most in both vote share and seats, according to DW.

Sánchez called the election in October after the Popular Party, Vox and Junts voted down a housing package his government had drawn up in response to nationwide protests over the September eviction of an 87-year-old Madrid woman, the Guardian reported. He calculated that the fight over housing would work in his favor. The Popular Party campaigned on lower taxes and a million new homes, and it joined Vox in casting the vote as a referendum on what both parties call "sanchismo," a style of government they describe as cynical, corrupt, opportunistic and self-serving. Immigration also loomed large after a mass crossing of migrants into Spain's North African territory of Ceuta in July and the government's decision earlier this year to offer legal status to hundreds of thousands of undocumented migrants, CBS reported.

Sánchez defended his record throughout. "My government hasn't been perfect; I've made mistakes," he said during the campaign, according to the Guardian. "But I'm also fully aware that we have always governed in the right direction." He also warned voters that "every seat that goes to the PP and Vox means taking a step backward," CBS reported.

In Washington, President Trump welcomed the result. "He did a terrible job," Trump told reporters, according to El País, and he said Sánchez "deserves to lose," CBS reported. Sánchez had cast himself as a counterweight to Trump on the world stage and had defied the president's demands over NATO defense spending. In Europe, Commission President Ursula von der Leyen and French President Emmanuel Macron congratulated Feijóo, and Italian Prime Minister Giorgia Meloni sent congratulations to both Feijóo and Abascal, the Guardian's live coverage reported.

The vote still leaves Spain closely divided. Roughly half of voters backed parties of the right, El País calculated, and about the same share supported the parties that had kept Sánchez in power. The seat totals reported Sunday night were provisional figures from a count that was nearly complete. The Popular Party already governs four regions in coalition with Vox: Aragon, Extremadura, Castile and León, and Andalusia, according to Europa Press.