TIANJIN: North Korean leader Kim Jong-un wound up his first state visit to China in the port city of Tianjin on Wednesday, after talks in Beijing during which he called building ties with China his country’s “primary strategic task”.

South Korea’s Yonhap News Agency reported that Kim was believed to have boarded his train for home in Tianjin late on Wednesday, citing multiple sources. He is expected to pass through the Chinese border city of Dandong and cross into North Korea on Thursday morning, though neither side has disclosed his route.

Kim’s armoured train left Beijing around 2pm on Wednesday, heading towards Tianjin, a port and industrial hub about 120km (75 miles) southeast of Beijing. Tianjin residents said partial road closures started in the afternoon, and parents received notices from schools to pick up their children half a day early. Uniformed guards and what appeared to be plain-clothes security personnel with walkie-talkies were stationed at intervals along surrounding roads to monitor the perimeter.

Earlier on Wednesday in Beijing, Kim and Chinese President Xi Jinping, along with their wives Ri Sol-ju and Peng Liyuan, met for tea and then lunch at Zhongnanhai. Kim also toured the Central Party School alongside Xi’s chief of staff Cai Qi.

Chinese state media reported that Xi Jinping said on Wednesday he reached "important" agreements with Kim Jong Un during the North Korean leader's "historic" state visit to deepen ties between their countries. A readout on state broadcaster CCTV said the pair "conducted fruitful talks, reaching new, important consensuses on continuing to maintain high-level exchanges, deepening and expanding practical cooperation, and strengthening people-to-people and cultural exchanges".

Xi said both leaders had "achieved historic mutual visits in less than a year" and "highly value exchanges and cooperation" between their countries. Xi also stressed the need to strengthen exchanges and mutual learning through inter-party channels and called for more high-level exchanges and cooperation.

Kim said he would draw on China’s development experience, citing party cadre training as well as urban and rural development. During a two-hour discussion on Tuesday, Kim said he wanted to develop the “most special, sincere and durable” relationship with China and described this as his country’s “primary strategic task”.

Both leaders highlighted the need to expand practical cooperation, upgrade cross-border infrastructure and support the movement of people and goods across the border. Xi told Kim on Tuesday that Beijing and Pyongyang should work to "steadily advance cross-border infrastructure construction, facilitate the movement of people and goods between the two countries (and) promote... economic and trade ties".

None of the official statements issued by the two sides mentioned the issue of denuclearisation or possible talks between Kim and US President Donald Trump.