North Korea said leader Kim Jong Un invited Russian President Vladimir Putin to visit North Korea following their nearly five-hour meeting on Wednesday.
According to North Korea's state-run media, Korean Central News Agency, Kim "cordially" invited Putin to visit North Korea at a "convenient time" and that Putin accepted with "pleasure and reaffirmed his will to invariably carry forward the history" of friendship between the nations.
Earlier in the day, the two leaders had their summit and also toured a space base in Russia's Far East and signaling a unified front against the West.
"I am so grateful you are paying such attention to our visit to Russia," Putin said at the Vostochny Cosmodrome, adding, "I'm sure we will remain together in our fight against imperialism."
The North Korean leader said his country supported Russia's invasion of neighboring Ukraine.
"Russia has risen to a sacred fight to its sovereignty and security against the hegemonic forces," Kim said. "North Korea supports all Putin's decisions."
The two had been expected during the summit to discuss a trade deal that may include North Korea supplying Russia with ammunition, which may be used in the ongoing invasion of Ukraine. Those talks had been "actively advancing" ahead of the sit-down, a U.S. official told ABC News last week.
MORE: North Korea and Russia both seen as benefiting by striking new trade deal: ANALYSISThe high-level meeting began at about 2:30 p.m. local time, coming after days of speculation over when and where the meeting would take place. The Kremlin, which announced on Monday that the meeting was planned, had said on Tuesday it would take place in the coming days.
Kim left Pyongyang on Sunday night, traveling into Russia on a slow-moving train that crossed the border into far eastern Russia Tuesday.
Putin on Monday began a two-day trip to Vladivostok, a port city near eastern Russia's border with North Korea, where he attended an economic forum, Russia's TASS news agency said.
Putin greeted Kim in front of the building on Wednesday.
Both leaders arrived for the summit with entourages. Kim's included his sister, Kim Yo Jong. He was also joined by Pak Jong Chon, a top aide, and Ri Pyong Chol, commander of the Korean Peoples Army. Putin arrived with Defence Minister Sergei Shoigu and Foreign Minister Sergei Lavrov.
"I'm very glad to see you," Putin said upon greeting Kim, according to RIA News, a state-run media outlet.
The two shook hands and walked inside, where Kim later signed a visitor's book, writing, "Glory to Russia."
ABC News' Shannon Crawford, Ben Gittleson, Joe Simonetti and Joohee Cho contributed to this story.