FRANKFURT, Germany (AP) — Friedrich Merz’s unprecedented failure to win election as German chancellor in the first round of voting in parliament — though he won in the second — raised doubts about his new government’s ability to carry through on plans to push Europe’s largest economy out of stagnation.

Tuesday’s stumble at the start of his new coalition government between his Union bloc and the Social Democrats added uncertainty around the future of an economy that hasn’t seen significant growth since before the COVID-19 pandemic.

Above all, Merz had been expected to end the squabbling over spending and budgets that plagued predecessor Olaf Scholz’s unruly three-party coalition that collapsed in November. His Feb. 23 election win and coalition deal seemed to provide assurance that his government could end policy paralysis and confront challenges including lagging investment in pro-growth projects, choking bureaucracy and a lack of skilled labor.

But the first-round flop in parliament raised questions about how solid Merz’s majority would be and whether it can pass reforms to raise growth after two years of shrinking output. The outgoing government predicted zero growth for this year.

“The failed vote, and fact that it came out of the blue, have already weakened Merz significantly,” said Franziska Palmas, senior Europe economist at Capital Economics.

“His promise to run a much more efficient and conflict-free government … looks much less credible now. And delivering on his economic proposals, including a big increase in defense and infrastructure spending, corporate tax cuts, bureaucracy cuts and digitalization, will be more difficult than expected,” Palmas added.

Merz’s coalition has 328 members in the new parliament. The fact that he received only 310 votes on the first secret ballot — when he needed a majority of 316 out of 630 votes — led to speculation that some fiscally conservative legislators are resisting his post-election decision to loosen Germany’s constitutional limit on deficit spending and set up a 500 billion euro fund to spend on infrastructure such as bridges, schools and rail lines.

Those measures were passed in the outgoing parliament.

Merz won election with 325 votes on the second try, but significant damage has been done. He is taking office “with two black eyes and shaky knees,” said Andrea Roemmele, professor of communications in politics and civil society at Berlin’s Hertie School.

Hope that the government will quickly push ahead with new investments and reforms “has been shattered,” said Carsten Brzeski, global chief of macro at ING bank: “Today’s events show that not everyone seems to have understood the sense of urgency and the need to have a functioning government.”