A GERMAN national flag flies atop the illuminated Reichstag building in Berlin, Germany Dec. 9, 2022. 鈥 REUTERS

BERLIN 鈥 German Chancellor Olaf Scholz called the results of two regional elections that saw big wins for the far-right AfD and losses for his coalition 鈥渂itter鈥 and urged mainstream parties to form governments without 鈥渞ight-wing extremists.鈥

The Alternative for Germany (AfD) became the first far-right party to win a state legislature election in Germany since World War II with its result in weekend voting in Thuringia. It came a close second behind the conservatives in Saxony, projections late on Sunday showed.

But the AfD, deemed 鈥渞ight-wing extremist鈥 by security officials in both of the east German states, is unlikely to be able to govern as other parties have so far refused to collaborate with it to form a majority.

Still, the nationalist, anti-migration and Russia-friendly party could end up with enough seats in both states to block decisions requiring a two-thirds majority such as the appointment of judges or top security officials, giving it unprecedented power.

鈥淭he results for the AfD in Saxony and Thuringia are worrying,鈥 Mr. Scholz said in a statement to Reuters. He clarified he was talking as a lawmaker for his center-left Social Democrats (SPD).

鈥淥ur country cannot and must not get used to this. The AfD is damaging Germany. It is weakening the economy, dividing society and ruining our country鈥檚 reputation.鈥

With a year to go until Germany鈥檚 national election, the results on Sunday punished Mr. Scholz鈥檚 fractious coalition, which could aggravate infighting.

All three ruling parties lost votes, with only his SPD comfortably clearing the 5% threshold needed to stay in the two states鈥 parliaments.

Populist leftist newcomer, the Sahra Wagenknecht Alliance (BSW), founded by a former member of the East German Communist Party, did better than all of three coalition partners in its first state elections, coming in third place.

鈥淪unday鈥檚 election results are bitter 鈥 for us too,鈥 Mr. Scholz said. But he noted that the more dire predictions, that the SPD might fall out of a state parliament for the first time, had not materialized.

Junior coalition partners the Greens and pro-business Free Democrats both fell out of the Thuringia state assembly.

Sunday鈥檚 results could also pressure the government to be tougher on immigration and intensify the debate over support for Ukraine, issues that dominated the campaign. 鈥 Reuters