President Xi Jinping has reassured Kim Jong Un of North Korea's enduring importance to China during talks between the pair in Beijing, Chinese state media reports.
Mr Kim has been on a rare foreign visit to China, his most important ally, joining Russia's Vladimir Putin alongside Mr Xi at a massive military parade commemorating the 80th anniversary of the end of World War II.
Mr Kim and Mr Xi held talks on Thursday evening at Beijing's Great Hall of the People, where the Chinese president said his country attached "great importance to the traditional friendship" with North Korea.
Beijing is "willing to maintain, consolidate and develop" bilateral ties, Mr Xi said according to state news agency Xinhua.
"No matter how the international situation changes, this position will not change," he was quoted as saying.
China's relationship with North Korea was forged in the bloodshed of the Korean War in the 1950s, and Beijing is a vital source of diplomatic, economic and political support for the isolated nuclear state.
But Pyongyang has been moving closer to Russia recently, with the two countries signing a mutual defence agreement last year, and North Korean soldiers fighting in the Ukraine war.
China's leader told Mr Kim on Thursday that China was willing to "enhance high-level exchanges and strategic communication with the DPRK … deepen mutual understanding and friendship, strengthen interactions at all levels, and carry out practical cooperation in various fields", Xinhua news agency reported, using the acronym for North Korea.
Mr Kim echoed Mr Xi's sentiments on their unchanging friendship, Xinhua said, and pledged support for China on issues such as Taiwan.
The two men had tea and dinner together, it added.
The North Korean leader's armoured train was seen leaving Beijing shortly after the meeting ended, South Korean news agency Yonhap reported.
Mr Kim arrived in Beijing on Tuesday accompanied by his daughter Kim Ju Ae, his second reported trip abroad in six years and his first to China since 2019.
His attendance at the parade was the first time he was seen with Mr Xi and Mr Putin at the same event.
Despite the apparent closeness, Beijing and Pyongyang's relationship is an uneasy one.
China's support of Mr Kim is predicated on the expectation he will not cause too much regional instability, an expectation that has not always been lived up to.
Mr Kim enjoyed a brief bout of high-profile international diplomacy from around 2018, meeting US President Donald Trump and then South Korean president Moon Jae-in several times.
However, he withdrew from the global scene after the collapse of a summit with Mr Trump in Hanoi in 2019.
Mr Trump, who met Mr Kim three times and once even said they had fallen "in love", has voiced hope of meeting him again.
Since their failed 2019 summit, Pyongyang has declared itself an "irreversible" nuclear state and recently rejected any suggestion of improving ties with Seoul.
AFP/ABC