This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

WARSAW, Poland (AP) — President Joe Biden said Saturday that Vladimir Putin “cannot remain in power,” dramatically escalating the rhetoric against the Russian leader after his brutal invasion of Ukraine.

Even as Biden’s words rocketed around the world, the White House attempted to clarify soon after Biden finished speaking in Poland that he was not calling for a new government in Russia.

A White House official asserted that Biden was “not discussing Putin’s power in Russia or regime change.” The official, who was not authorized to comment by name and spoke on the condition of anonymity, said Biden’s point was that “Putin cannot be allowed to exercise power over his neighbors or the region.”

The White House declined to comment on whether Biden’s statement about Putin was part of his prepared remarks.

“For God’s sake, this man cannot remain in power,” Biden’s said at the very end of a speech in Poland’s capital that served as the capstone on a four-day trip to Europe.

Biden has frequently talked about ensuring that the Kremlin’s invasion, now in its second month, becomes a “strategic failure” for Putin and has described the Russian leader as a “war criminal.” But until his remarks in Warsaw, the American leader had not veered toward suggesting Putin should not run Russia. Earlier on Saturday, shortly after meeting with Ukrainian refugees, Biden called Putin a “butcher.”

Biden also used his speech to also make a vociferous defense of liberal democracy and the NATO military alliance, while saying Europe must steel itself for a long fight against Russian aggression.

Earlier in the day, as Biden met with Ukrainian refugees, Russia kept up its pounding of cities throughout Ukraine. Explosions rang out in Lviv, the closest major Ukrainian city to Poland and a destination for the internally replaced that has been largely spared from major attacks.

The images of Biden reassuring refugees and calling for Western unity contrasted with the dramatic scenes of flames and black smoke billowing so near the Polish border — another jarring split-screen moment in the war.

In what was billed by the White House as a major address, Biden spoke inside the Royal Castle, one of Warsaw’s notable landmarks that was badly damaged during War II.

He borrowed the words of Polish-born Pope John Paul II and cited anti-communist Polish dissident and former president, Lech Walesa, as he warned that Putin’s invasion of Ukraine threatens to bring “decades of war.”

“In this battle we need to be clear-eyed. This battle will not be won in days, or months, either,” Biden said.

The crowd of about 1,000 included some of the Ukrainian refugees who have fled for Poland and elsewhere in the midst of the brutal invasion.

“We must commit now, to be in this fight for the long haul,” Biden said.

After meeting with refugees at the National Stadium, Biden marveled at their spirit and resolve in the aftermath of Russia’s deadly invasion as he embraced mothers and children and promised enduring support from Western powers.

Biden listened intently as children described the perilous flight from neighboring Ukraine with their parents. Smiling broadly, he lifted up a young girl in a pink coat and told her she reminded him of his granddaughters.

President Joe Biden meets with Ukrainian refugees and humanitarian aid workers during a visit to PGE Narodowy Stadium, Saturday, March 26, 2022, in Warsaw. (AP Photo/Evan Vucci)

The president held hands with parents and gave them hugs during the stop at the soccer stadium where refugees go to obtain a Polish identification number that gives them access to social services such as health care and schools.

Some of the women and children told Biden that they fled without their husbands and fathers, men of fighting age who were required to remain behind to aid the resistance against Putin’s forces.

“What I am always surprised by is the depth and strength of the human spirit,” Biden told reporters after his conversations with the refugees at the stadium, which more recently had served as a field hospital for COVID-19 patients. “Each one of those children said something to the effect of, ‘Say a prayer for my dad or grandfather or my brother who is out there fighting.”

The president tried to use his final hours of his European trip reassuring Poland that the United States would defend against any attacks by Russia as he acknowledged that the NATO ally bore the burden of the refugee crisis from the war.

“Your freedom is ours,” Biden had earlier told Poland’s President Andrzej Duda, echoing one of that country’s unofficial mottos.

More than 3.7 million people have fled Ukraine since the war began, and more than 2.2 million Ukrainians have crossed into Poland, though it is unclear how many have remained there and how many have left for other countries. Earlier this week the U.S. announced it would take in as many as 100,000 refugees, and Biden told Duda that he understood Poland was “taking on a big responsibility, but it should be all of NATO’s responsibility.”

Biden called the “collective defense” agreement of NATO a “sacred commitment,” and said the unity of the Western military alliance was of the utmost importance.

“I’m confident that Vladimir Putin was counting on dividing NATO,” Biden said. “But he hasn’t been able to do it. We’ve all stayed together.”

European security is facing its most serious test since World War II. Western leaders have spent the past week consulting over contingency plans in case the conflict spreads. The invasion has shaken NATO out of any complacency it might have felt and cast a dark shadow over Europe.

Warsaw, a city of nearly 1.8 million people, has grown by about 17% in a month as the refugees have come in huge numbers seeking shelter.

While Poles have so far welcomed Ukrainians, the humanitarian efforts are largely the work of volunteers. Warsaw Mayor Rafal Trzaskowski has warned it is not sustainable and that social services are buckling under the strain.

The U.S. has been sending money and supplies to aid the refugee effort. This week, Biden announced $1 billion in additional aid in addition to accepting refugees.

The U.S. and many of its allies have imposed multiple rounds of economic and other sanctions on Russian individuals, banks and other entities in hopes that the cumulative effect over time will force Putin to withdraw his troops.

But no clear path to ending the conflict has emerged. Although Russian officials have suggested they will focus their invasion on the Donbas, a region in eastern Ukraine, Biden told reporters, when asked whether the Kremlin had changed its strategy, “I am not sure they have.”

Madhani reported from Washington. Associated Press writers Monika Scislowska in Warsaw, Poland, contributed to this report.