America's President Joe Biden has assured Poland of NATO loyalty in view of the Russian war of aggression in Ukraine.

"We consider Article 5 to be a sacred obligation and you can rest assured of that," Biden said at a meeting with Poland's President Andrzej Duda in Warsaw on Saturday.

He assumes that Russian President Vladimir Putin "expected to be able to split NATO, to be able to separate the east flank from the west," Biden said.

But he wasn't able to do that.

Biden also thanked Poland for taking in the refugees from Ukraine.

“We recognize that Poland is taking on a great responsibility, which I believe should not only concern Poland.

It should be the responsibility of the whole world, of all NATO," said the US President.

"We understand the fact that so many Ukrainians are seeking refuge in Poland, because we have thousands of people on our southern border who (...) try to get to the United States every day."

Following his meeting with Duda, Biden wanted to meet refugees in Warsaw in the afternoon and finally give a speech on the war in Ukraine.

It is the second day of his trip to Poland.

The return to the USA is on Saturday evening.