US President Donald Trump met with Kim in Singapore on 12 June 2018. An agreement was signed between the two countries endorsing the 2017 Panmunjom Declaration signed by North and South Korea, pledging to work towards denuclearizing the Korean Peninsula. They met in Hanoi from 27 to 28 February 2019, but failed to achieve an agreement. On 30 June 2019, Trump met with Kim along with Moon Jae-in at the Korean DMZ.