Clashes had erupted along the Thailand-Cambodia border due to a dispute over the Ta Muen Thom temple.
The conflict centres on the 11th-century Hindu temple Preah Vihear, a UNESCO World Heritage site claimed by both nations.
The International Court of Justice (ICJ) decided in 1962 and reaffirmed in 2011 that the temple belongs to Cambodia, but Thailand disputes the surrounding of the land.
Built by the Khmer Empire, the temple remains a symbol of cultural pride and a hotspot for nationalist tensions.