 At the April 2018 inter-Korean summit, Kim and South Korean President Moon Jae-in signed the Panmunjom Declaration, pledging to convert the Korean Armistice Agreement into a full peace treaty, formally ending the Korean War, by the end of the year.From 7–8 May, Kim made a second visit to China, meeting with Xi Jinping in Dalian.On 26 May, Kim had a second and unannounced meeting in the North Korean side of Panmunjom, meeting with Moon to discuss his proposed summit with US President Donald Trump in Singapore.