President Joe Biden by all accounts was having a quiet weekend at the White House, joining his wife Jill Biden for dinner at a restaurant on a rare outing in Washington on Saturday.
But behind the scenes, officials at the White House and other agencies were planning intensively for Biden to make an unannounced trip to Kyiv to show solidarity with Ukraine days before the one-year anniversary of Russia's invasion.
After months of planning, Biden on Friday decided to go ahead with the trip, according to the White House.
White House officials said Biden was taken to Joint Base Andrews outside of Washington and departed at 4:15 a.m. (0915 GMT) on Sunday aboard an Air Force jet, accompanied by a handful of aides. A scaled-back news media presence went along with him: just one reporter and a photographer instead of his usual media pool.
The president flew overnight to the United States' Ramstein Air Base in Germany. The plane was refueled and he flew on to Rzeszow in southeastern Poland. After a one-hour drive, he arrived in Przemysl, a city along the Poland-Ukraine border.
Biden then boarded a train and traveled 10 hours to Kyiv. By then it was Sunday night, and Biden's train traveled in the dark with a heavy security presence on board.
The train came to a stop at the Kyiv-Pasazhyrsky station in the Ukrainian capital at roughly 8 a.m. local time (0600 GMT) on Monday. The area around the platform had been cleared and the U.S. ambassador to Ukraine, Bridget Brink, awaited Biden and his staff.
"It's good to be back in Kyiv," Biden said after stepping off the train.
U.S. national security adviser Jake Sullivan, who accompanied the president, said U.S. officials did notify Russian officials that Biden would be traveling to Kyiv. "We did so some hours before his departure for deconfliction purposes," he told reporters on a conference call, declining to provide more details.
Sullivan said the trip had "required a security, operational, and logistical effort from professionals across the U.S. government to take what was an inherently risky undertaking and make it a manageable level of risk."
Residents of Kyiv live under the constant threat of Russian missile and drone attacks.
After his visit, Biden got back on the train for the trip to Przemysl. After arriving there, he made his way to Warsaw.
(This story has been refiled to fix a spelling in paragraph 9)
(Reporting By Steve Holland; editing by Ross Colvin and Jonathan Oatis)