North Korean leader Kim Jong Un held talks with Chinese President Xi Jinping in Beijing on Tuesday during his first state visit to China, as both countries seek to strengthen bilateral relations.

Kim arrived in Beijing aboard his armoured train and was welcomed with a ceremony at the Great Hall of the People, marking the first state visit by a North Korean leader to China since Kim’s grandfather, Kim Il Sung, visited in 1982.

Xi urged both countries to unlock the potential for practical cooperation, promote stable relations and advance cross-border infrastructure projects to facilitate the movement of people and goods, according to Chinese state media.

He also reaffirmed Beijing’s commitment to Pyongyang’s socialist cause, saying China’s position would remain unchanged.

The meeting comes two weeks after Xi hosted US President Donald Trump and Russian President Vladimir Putin for trilateral talks on the sidelines of an Asia-Pacific leaders’ summit in Shenzhen, where Trump expressed interest in resuming direct engagement with Kim.

Kim’s visit follows recent efforts to strengthen ties between the two countries, including his visit to a Chinese border town and a newly opened bridge linking them in October, as well as Xi’s visit to Pyongyang in June and his hosting of Kim in Beijing last September during a military parade marking the 80th anniversary of the end of World War II.