A kick from Trump and a win for Malaysiapublished at 11:55 British Summer Time
11:55 BST
Jonathan Head
BBC South East Asia Correspondent
President Trump may have delivered the kick, with his trade talks threat, that enabled this ceasefire, but it is Malaysia which is getting the credit.
Prime Minister Anwar Ibrahim, flanked by his Thai and Cambodian counterparts, announced an agreed end to hostilities between the two countries at midnight, and said Malaysia and other members of the Association of South East Asian Nations were on hand to help monitor the ceasefire.
Tellingly both the US and China had observers at the talks.
Cambodia’s prime minister Hun Manet described it as a very good meeting that he hoped would immediately stop the fighting; Cambodia has been pushing for a ceasefire since Friday, as its outgunned forces have been driven back by the Thai military.
The acting Thai prime minister Phumtham Wechayachai seemed less thrilled by the outcome, but promised to honour the ceasefire.
Shells and rockets continued to land in both countries even as the peace talks were underway; it will take a lot longer to cool the emotions on both sides of the border stirred up by the destruction and loss of life over the past five days.