BERLIN -- Chancellor Angela Merkel's conservative bloc won a lackluster victory in Germany's national election Sunday, while the anti-migrant, nationalist Alternative for Germany party managed a triumphant entry into parliament.
Merkel's main center-left rivals, the Social Democrats, slid to their worst result since World War II, projections showed. The party, led by Merkel's challenger Martin Schulz, vowed to leave her coalition government and go into opposition.
The outcome puts Merkel on course for a fourth term as chancellor, but it means she likely faces the task of forming a new coalition government with two new partners. Merkel acknowledged it would take time but said, "We live in stormy times," and other parties should show responsibility.
"I have the intention of achieving a stable government in Germany, and that has been a hallmark" of the country, she said.
Projections for ARD and ZDF public television, based on exit polls and partial counting, showed Merkel's Christian Democratic Union and their Bavaria-only allies, the Christian Social Union, winning about 33 percent of the vote -- down from 41.5 percent four years ago. It was one of their weakest post-war showings.
Schulz's Social Democrats trailed far behind, with just under 21 percent support. That would be the outright worst post-war for the party, which has served since 2013 as the junior partner in a "grand coalition" of Germany's biggest parties under Merkel.
Merkel was greeted at her party's headquarters by supporters applauding and chanting, "Angie!"
"Of course, we would have preferred a better result, that is completely clear," she said. "But we mustn't forget that we have had an extremely challenging parliamentary term behind us."
"We have a mandate to form a new government, and no government can be formed against us," Merkel added.
"We want to win back AfD voters by solving problems, by taking account of their concerns and fears, and above all with good policies," Merkel added.
Smaller parties were the chief beneficiaries of the erosion in support for Germany's traditionally dominant parties -- above all the right-wing Alternative for Germany, or AfD, whose support was just over 13 percent. AfD capitalized on discontent with established politicians but particularly targeted those angry over the influx of more than 1 million mostly Muslim migrants into Germany in the past two years under Merkel.
AfD co-leader Alexander Gauland vowed "we will take our country back" and promised to "chase" Merkel.
"This is a big day in our party's history. We have entered the Bundestag, and we will change this country," Gauland said.
Big cheers went up at AfD's election party after exit polls showed them finishing in third. Some supporters chanted, "AfD! AfD!" and others started singing the German national anthem.
Outsides, hundreds of anti- AfD protesters shouted, "All Berlin hates the AfD," "Nazi pigs" and other slogans. Several protesters threw bottles as police kept them away from the building.
Another big winner Sunday was the pro-business Free Democratic Party, which was set to return to parliament with 10.5 percent of the vote. The party was Merkel's coalition partner in her second term from 2009 to 2013 but lost all its seats at the last election.
"In a country that is big on schadenfreude, our comeback is an encouraging message -- after failure, a new beginning is possible," party leader Christian Lindner told supporters.
The traditionally left-leaning Greens were seen winning around 9 percent of the vote and the Left Party also 9 percent, meaning both stay in parliament.
The new parliament will have six caucuses, compared with four previously, and the Social Democrats said they intend to lead the opposition.
"We have suffered a crushing election defeat," Schulz said. "It is completely clear that the role the voters have given us is as the opposition."
Referring to the AfD's third-place finish, he said "there cannot be a far-right party leading the opposition in Germany."
If the Social Democrats stick to their pledge, Merkel will effectively have only one option to form her new government: teaming up with the Free Democrats and the Greens in an alliance that has never yet been tried in a national German government.
That combination -- known as a "Jamaica" coalition because the parties' colors match those of that Caribbean nation's flag -- will have to overcome the traditional distrust between both the Free Democrats and the Greens and between parts of Merkel's conservative bloc and the Greens.
The Left Party is incompatible with the conservatives and all have voted not to work with AfD.
The 'Jamaica' alliance "could work ... the (conservative) Union, Greens and Free Democrats do have similar voters," said Karl-Rudolf Korte, a political scientist at Duisburg-Essen University.
"To keep the chancellery, Ms. Merkel will make any concession," Schulz said in a bitter appearance alongside other party leaders on German public television. He accused Merkel of conducting a "scandalous" campaign that systematically avoided contentious issues and "created a vacuum" that AfD filled.
Mainstream parties' leaders vowed a robust response to AfD's entry into parliament. Greens co-leader Katrin Goering-Eckardt told supporters: "there will again be Nazis sitting in parliament."
"We will not let one single attack on German democracy stand," she said, to applause.
Merkel has over the years pulled her party toward the center, but may now face new pressure for a more robust conservative image.
An often-awkward conservative ally, Bavarian Governor Horst Seehofer, who has long called for a fixed annual cap on the number of migrants that Germany accepts, said the result Sunday shows that the conservatives have "an open flank to the right."
"It is particularly important that we close this flank with ... clear political positions," he said.
Connect with the Southeast Missourian Newsroom:
For corrections to this story or other insights for the editor, click here. To submit a letter to the editor, click here. To learn about the Southeast Missourian’s AI Policy, click here.