US President Donald Trump has hailed the "great progress" made with North Korea, after agreeing to meet with Kim Jong Un by May this year.
In an extraordinary turn of events, he confirmed on Twitter that a meeting was being planned - despite the two leaders trading insults for months and economic sanctions on North Korea being ramped up in response to its nuclear weapons programme.
President Trump had previously threatened "fire and fury" in response to threats from North Korea. Mr Trump also referred to the North Korean leader as "Little Rocket Man".
But on Friday, the US leader tweeted: "Kim Jong Un talked about denuclearisation with the South Korean representatives, not just a freeze.
"Also, no missile testing by North Korea during this period of time. Great progress being made but sanctions will remain until an agreement is reached. Meeting being planned!".
Kim Jong Un talked about denuclearization with the South Korean Representatives, not just a freeze. Also, no missile testing by North Korea during this period of time. Great progress being made but sanctions will remain until an agreement is reached. Meeting being planned!
— Donald J. Trump (@realDonaldTrump) March 9, 2018
It comes after South Korea's national security adviser Chung Eui Yong announced at the White House Mr Kim's desire to meet with Mr Trump following talks in Pyongyang on Monday.
"He (Mr Kim) expressed his eagerness to meet President Trump as soon as possible," said the South Korean official. "President Trump appreciated the briefing and said he would meet Kim Jong Un by May to achieve permanent denuclearisation."
Mr Chung also said Mr Kim had vowed that his country would "refrain from any further nuclear or missile test" and that he was "committed to denuclearisation".
He said North Korea understood routine military exercises carried out by the US and South Korea must continue and that there would be continuing pressure on the country until it makes "concrete actions".
The White House confirmed a meeting between the two would be held "at a place and time to be determined".
South Korean President Moon Jae In said a meeting between Mr Trump and Mr Kim would be a "historical milestone" that will put the denuclearisation of the Korean Peninsula "really on track".
Mr Moon also complimented Mr Trump for accepting Mr Kim's invitation for a summit, saying Mr Trump's leadership will be praised "not only by the residents of South and North Korea but every peace-loving person around the world".
No serving US president has ever met with a North Korean leader and the two countries do not have formal diplomatic relations.
The nations are still technically at war following the 1950-1953 Korean War, which ended with an armistice and not a peace treaty.
The latest attempt to open a dialogue between the two countries comes after Mr Kim hit out at the US in his New Year's address and referred to the "nuclear button" on his office desk.
Mr Trump later tweeted that he had a nuclear button too that was a "much bigger and more powerful one than his, and my button works!".
Former US ambassador to South Korea Christopher Hill said North Korea's invitation was "quite extraordinary".
He said: "I spent four years negotiating with the North Koreans as part of the six-party talks and I can tell you we never had a moment anything close to this.
"Certainly, the North Koreans have invited American heads of state before but this is the first time an American head of state has said 'sure I'll go' - so this is really quite extraordinary."
Leading US Republican Senator Lindsey Graham hailed Mr Trump's North Korea strategy and warned Mr Kim not to "try and play" the US president when they meet, with it being "the worst possible thing you can do".
"If you do that, it will be the end of you - and your regime," he added in a statement on Twitter.