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".

Russian air strikes kill 10, injure more than 50 in Ukraine's Kyiv
US, Iran talks conclude in Doha, focused on Strait of Hormuz
Trump honours Theodore Roosevelt in North Dakota, debuts new Air Force One
Kenyan court charges 8 schoolgirls with fellow students' murder
At least 5 people killed in fire in Antwerp apartment block
Three people die in Mexico World Cup celebrations as fans crowd streets
After Venezuela quakes, citizens lead rescues amid military theft accusations
Two dead after wildfire guts house in northern Greece
