Pyongyang: Chinese Foreign Minister Wang Yi on Thursday met North Korean leader Kim Jong-un here and congratulated him for the thaw in relations with South Korea, officials said.

Wang met Kim at the Korean Workers’ Party headquarters and praised the successful April 27 meeting between the North Korean leader and South Korean President Moon Jae-in.

The Chinese minister backed the joint statement — the Panmunjom agreement — signed by Moon and Kim pledging to work towards the denuclearisation of the Korean peninsula, Efe news reported.

Wang said the meeting had provided an opportunity to resolve issues on the inter-Korean issues politically rather than through the use of force.

The minister added that China supported the deal to formally end the Korean War.

Wang had also met his counterpart Ri Yong-ho and discussed the current situation on the peninsula following the inter-Korean summit. Wang and Ri had an “in-depth” discussion on the “friendly and cooperative” relations between North Korea and China.

Wang arrived in North Korea on Wednesday that made him the first Chinese Foreign Minister to make an official trip to the country in 11 years. He was accorded a ceremonial reception on Thursday.

This came after Kim met Chinese President Xi Jinping during his visit to Beijing in March. After Kim’s visit, North Korea’s Foreign Minister Ri Yong-Ho also visited China.

Beijing, which has supported the denuclearisation, has since shown its willingness to work with the two Koreas and the US towards a peace treaty that will replace the armistice.