Russian President Vladimir Putin has accepted an invitation to visit North Korea, Pyongyang's state media said Thursday, as Kim Jong Un wrapped up a rare trip to meet with his ally.

The isolated Kim, who seldom leaves his country and has not traveled since before the pandemic, held a "historic meeting and talks" with Putin on Wednesday, the Korean Central News Agency said.

Among the results of the leaders' summit were Russian promises of help with North Korea's fledgling space program, according to Russian news agencies, while Putin told reporters he saw "possibilities" for military cooperation.