Chinese President Xi Jinping and North Korean leader Kim Jong Un on Wednesday stressed the importance of boosting bilateral cooperation and exchanges as they chatted over tea with their wives in Beijing, the Chinese Foreign Ministry said.

On the second day of Kim's state visit to China, the North Korean leader expressed his hope to bring the two countries' relations to "a new historical height," the ministry said.

The two met at Zhongnanhai, the Beijing compound for the ruling Communist Party's leadership, where Xi also lives and works. The Chinese leader hosted U.S. President Donald Trump for tea there and showed him around the compound during his visit to China in May.

Xi expressed his readiness to work with Kim to implement agreements reached during their summit talks Tuesday, such as maintaining high-level exchanges and strengthening people-to-people exchanges to enhance mutual understanding, the ministry said.

Kim called for stronger exchanges with China to draw on its experience in training ruling party cadres and in urban and rural development, according to the ministry.

Diplomatic sources said Kim later traveled by train to Tianjin, a port city near Beijing, ahead of his planned return home on Thursday.

During Tuesday's meeting at the Great Hall of the People in Beijing, Kim called developing ties with China a top strategic task and described 2026 as the bilateral relationship's "most significant year," the official Korean Central News Agency said Wednesday.

Kim is on his first state visit to China, the first by a North Korean leader in 44 years. He pledged to develop the "most special, sincere and durable strategic relations" with China, KCNA said.

The Chinese and North Korean leaders last held talks in Pyongyang in June.

Kim's visit came after the leaders of China, Russia and the United States met in the southern Chinese city of Shenzhen in November for their first trilateral summit, during which the three leaders discussed issues related to the Korean Peninsula.

Xi, for his part, is expected to hold his fourth in-person talks with U.S. President Donald Trump this year later this month on the fringes of a Group of 20 summit in Miami, Florida. Trump has repeatedly expressed willingness to resume in-person dialogue with Kim.

The North Korean leader hailed China's hosting of the tripartite summit, saying that it demonstrated Beijing's "rising international standing and growing global influence," the ministry said Tuesday.

Neither the ministry's statement nor KCNA's report mentioned North Korea's nuclear program or the possibility of resuming dialogue between Kim and Trump.

According to KCNA, Xi said China remains steadfast in its support for the socialist cause of North Korea led by Kim and in its firm determination to "defend the common interests and excellent strategic environment of the two sides, no matter how the international situation may change."

Xi also told Kim the two sides should "counter the uncertainties in the external environment" and "resolutely safeguard respective strategic interests and overall regional peace and stability," the Chinese ministry said. Xi may have alluded to the unpredictable foreign policy of the Trump administration.

During his first presidency, Trump met with Kim three times, with the initial Singapore summit in 2018 followed by meetings in 2019 in Vietnam and at the inter-Korean truce village of Panmunjeom.

But their denuclearization talks collapsed when the two leaders met in Hanoi, prompting Pyongyang to boost its missile and nuclear capabilities.

North Korea has long sought recognition as a nuclear-weapon state, demanding that status and the abandonment of the U.S. hostile policy toward it as preconditions for resuming bilateral talks.

Xi also stressed during his talks with Kim that the two countries' ruling parties -- the Communist Party and the Workers' Party of Korea -- should deepen exchanges and mutual learning on state governance experience to enhance their leadership and "long-term ruling capacity," the Chinese ministry said.

His remarks came before the Communist Party's key twice-a-decade congress to be held in the second half of 2027, during which Xi is expected to secure an unprecedented fourth five-year term as leader.

In Beijing on Wednesday, Kim also visited the Communist Party's school to train cadres, accompanied by China's No. 5 leader Cai Qi, who serves as president of the academy, and called for boosting its exchanges with a similar school of the Workers' Part of Korea, the ministry said.

During Xi's state visit to Pyongyang in June, the Chinese leader toured the North Korean ruling party cadre training school.

Meanwhile, a delegation led by North Korean First Vice Premier Kim Tok Hun departed for Russia from Pyongyang airport Wednesday morning, in a move suggesting its intention to maintain favorable ties with Moscow.

China is North Korea's largest trading partner and longtime economic benefactor. Their ties have recently warmed after apparently cooling over North Korea's deepening military cooperation with Russia, including its deployment of troops to support Moscow's war against Ukraine.

Related coverage: