Thai Defense Minister Natthaphon Narkphanit said Thursday that talks with Cambodia had made “meaningful progress,” paving the way for a possible ceasefire agreement between the two nations on Sunday.

U.S. President Donald Trump is also expected to witness the signing of the cease-fire deal on the sidelines of an ASEAN summit in Kuala Lumpur, Malaysia's foreign minister said last week.

Thai and Cambodian officials have been meeting all week to thrash out the details of the agreement to ease hostilities, after border tensions between the two countries exploded into a deadly five-day conflict in July.

The five-day war killed at least 48 people and temporarily displaced hundreds of thousands on both sides in what was the worst fighting between the two countries in decades. An initial cease-fire brokered in Malaysia with U.S. involvement was signed on July 28.

The two countries have already reached a consensus in four areas, Natthaphon said at a press conference in Kuala Lumpur after one of the meetings, which also included observers from the United States and Malaysia.