Here is a look back at the diplomatic rollercoaster that took President Donald Trump and North Korea's Kim Jong Un from rhetorical warfare to Tuesday's unprecedented summit in Singapore.
Trading insults
On January 2, 2017, weeks before taking office, Trump vows North Korea will never be allowed to develop a nuclear weapon capable of reaching US territory.
The following month, Trump threatens "fire and fury" if Pyongyang continues to threaten America, kicking off months of saber-rattling that set the world on edge.
Undeterred, Pyongyang weeks later test-fires a ballistic missile over Japan, and on September 3 carries out its sixth, "perfect" nuclear test.
On September 21, 2017, Washington unveils a raft of tough sanctions to curb North Korea's nuclear and ballistic missile programme, two days after Trump's maiden speech to the UN General Assembly in which he dubs Kim a "Rocket Man" on a "suicide mission".
In response, Kim brands Trump "mentally deranged".
He later boasts his missile arsenal can hit any city on the US mainland, warning in a New Year address that he has a "nuclear button" on his desk. Trump responds by saying his own nuclear button is "much bigger and more powerful".
'Peace Olympics'
Following years of tensions, South Korea's hosting of the Winter Olympics in February 2018 gives the neighbours a window to reopen communications, ushering in a spectacular Korean detente.