The leaders of Cambodia and Thailand agreed to a ceasefire on Monday effective midnight, in a bid to bring an end to their deadliest conflict in more than a decade after five days of fierce fighting.
Amid an international effort to quell the conflict, the Thai and Cambodian leaders held talks in Malaysia hosted by its Prime Minister Anwar Ibrahim, the current chair of the ASEAN regional bloc, where both sides agreed to halt hostilities and resume direct communications.
Anwar said when opening a press conference alongside the Thai and Cambodian leaders that there would be "an immediate and unconditional ceasefire with effect from midnight tonight. This is final".
The Southeast Asian neighbours accuse each other of starting the fighting last week, before escalating it with heavy artillery bombardment and Thai air strikes along their 817-km land border.
Anwar had proposed ceasefire talks soon after a long-running border dispute erupted into conflict on Thursday, and China and the United States also offered to assist in negotiations.
US President Donald Trump called both leaders at the weekend urging them to settle their differences, warning he would not conclude trade deals with them unless they ended the fighting.
The tension between Thailand and Cambodia has intensified since the killing of a Cambodian soldier during a brief skirmish late in May.
Both sides reinforced border troops amid a full-blown diplomatic crisis that brought Thailand's fragile coalition government to the brink of collapse.
"Today we have a very good meeting and very good results... that hope to stop immediately the fighting that has caused many lives lost, injuries and also caused displacement of people," Hun Manet said, expressing appreciation to Trump and to China for its efforts in participating in the process.
"We hope that the solutions that Prime Minister Anwar just announced will set a condition for moving forward for our bilateral discussion to return to normalcy of the relationship, and as a foundation for future de-escalation of forces."
Acting Thai Prime Minister Phumtham Wechayachai, who had earlier expressed doubts about Cambodia's sincerity ahead of the negotiations in Malaysia, said Thailand had agreed to ceasefire that would "be carried out successfully in good faith by both sides".

Chinese national rescued from Nepal tunnel 10 days after flash flood
US envoys Witkoff, Kushner arrive in Moscow for talks on peace in Ukraine
One dead, 11 people missing after mudslide in China's Jiangxi province
Philippine VP Duterte posts bail after arrest order for alleged grave threats
Lindsay Clancy trial over killing her children ends in mistrial
Israel says it strikes southern Lebanon after Hezbollah drone launch
Sydney sweats in spring hot spell, faces 'extreme' bushfire risk
Nine days after disaster, two pulled alive from Nepal hydropower tunnel
