Phnom Penh: Thailand and Cambodia negotiated an end to deadly fighting on their border on Saturday, both armies said, after at least four people were killed in clashes near a disputed temple.
"Thailand and Cambodia have agreed a ceasefire and both sides will not reinforce their troops," Thai Army spokesman Colonel Sunsern Kaewkumnerd said after military commanders from both sides met for talks in a border town.
A Cambodian general also confirmed the end to hostilities, but added that the "situation right now is still tense".
One Thai soldier was killed in brief morning skirmishes near the 11th-century Preah Vihear temple, following two hours of heavy fighting on Friday that left a Cambodian soldier and a Thai civilian dead.
Military sources said a Cambodian civilian who made a living photographing tourists at the temple had also been killed in Friday`s clash, although the Cambodian government declined to confirm this.
Reports from the border suggested four captured Thai soldiers were returned following the ceasefire talks. Both sides have reported injured troops.
Thousands of people fled the border area on Friday as villages were evacuated on both sides after fighting between the neighbours erupted for the first time in more than a year when simmering border tensions boiled over.
Both countries have accused the other of starting the latest violence and using heavy weapons such as mortars, rockets and artillery.
Cambodia`s Foreign Minister Hor Namhong has written to the United Nations to draw its attention to the "explosive situation at the border".
Blaming the fighting on "flagrant aggression" by Thai troops, he said "Cambodian troops had no option but to retaliate in self-defence", in a letter addressed to UN Security Council president Maria Luiza Ribeiro Viotti.
He did not explicitly call for UN intervention.
Thailand, which convened an urgent security meeting on Saturday afternoon, has said it was also considering filing a complaint to the UN.
The United States urged both sides to exercise "maximum restraint".
Thailand has accused Cambodia of shelling a village, while Cambodia said Thai armed forces had fired artillery shells about 20 kilometres (12 miles) inside Cambodian territory.
Cambodia said the fighting had caused "serious" damage to the ancient Preah Vihear temple, which was granted UN World Heritage status in July 2008 straining ties between the neighbours.
The World Court ruled in 1962 that Preah Vihear itself belonged to Cambodia, although its main entrance lies in Thailand and the 4.6-square-kilometre (1.8-square-mile) area around the temple is claimed by both sides.
The Thai-Cambodia border has never been fully demarcated partly because it is littered with landmines left over from decades of war in Cambodia.
Thailand and Cambodia have been talking tough on the border issue, which some observers say serves nationalist goals at home on both sides.
Tensions between the two countries have flared in recent weeks in the wake of the arrest of seven Thai nationals for illegal entry into Cambodia in late December.
Two of them were sentenced to lengthy jail terms for spying, in a case that has caused outrage among Thailand`s influential nationalist "Yellow Shirts".
Thai Deputy Prime Minister Suthep Thaugsuban said the Yellows, who were expected to step up a protest outside Government House in Bangkok on Saturday, had worsened the conflict.
Michael Montesano, of the Institute of Southeast Asia Studies in Singapore, said: "A very small group of Yellow Shirts are determined to keep tensions with Cambodia on the boil."
Yellow Shirts are a force to be reckoned with in Thailand`s colour-coded politics and have helped to claim the scalps of three governments in under five years, including that of fugitive former premier Thaksin Shinawatra.
They used to be closely linked to Thai Prime Minister Abhisit Vejjajiva but relations have since soured.