Germany’s far right has surged to new highs in opinion polls, tapping into citizens’ discontent over record-high migration, persistently painful inflation and costly climate protection measures to batter Chancellor Olaf Scholz’s government.

The Alternative for Germany, or AfD, which denies the impact humans have on global warming and wants to stop more foreign nationals from coming to Germany, is now tied with Scholz’s Social Democrats as the second-most popular party in the country, polling only behind an alliance of opposition conservatives.

Once viewed as a radical fringe group, the AfD is now attracting frustrated supporters of established parties. Its rise coincides with public resentment over high energy and food costs resulting from Russia’s brutal attack on Ukraine, and over escalating expenses linked to Europe’s efforts to reduce climate-damaging carbon emissions. By focusing on these issues, the populist party has successfully exploited cracks in Scholz’s ruling coalition, which includes the environmentalist Greens, the pro-business Free Democrats and the chancellor’s center-left Social Democrats.