Russian President Vladimir Putin said he and U.S. President Donald Trump reached an "understanding" on Ukraine during their talks in Alaska on Friday.

Putin said he agrees with Trump on ensuring Ukraine's security and told reporters that Moscow was "ready to work on this," without offering details.

"I would like to hope that the understanding we have reached will allow us to get closer to that goal and open the way to peace in Ukraine," Putin said, without elaborating on what the understanding was.

Putin praised Trump's "clear vision of what he wants to achieve", and said he hoped the talks would bring Washington and Moscow together, emphasizing the need for "restoring practical, pragmatic relations between Russia and the U.S."

In the press conference following talks with Trump, Putin also said the war in Ukraine would not have happened if Trump had been president in 2022.

"Today, we hear President Trump saying that if he were president, there would be no war. I think that would have been the case," he said.

"I say that because President Trump and I have established a strong, practical and trusting relationship," he added. "And I have every reason to believe that by moving down this path, we can end the conflict in Ukraine, and the sooner the better.”

Trump said he and Putin did not reach a deal to end Russia’s military operation in Ukraine after talks in Alaska on Friday, as the two leaders offered scant details on what was discussed but heaped praise on one another.