Azerbaijan and ethnic Armenian forces in Nagorno-Karabakh were due to halt hostilities later on Saturday after a deal was struck in Moscow between Baku and Armenia to allow prisoners and the bodies of the dead to be exchanged.
It was not immediately clear how long the ceasefire, due to enter into force at midday local time, would last, and there were reports from both sides on Saturday morning of continued fighting.
The Moscow ceasefire talks was the first diplomatic contact between the two sides since fighting over the mountainous enclave, which is internationally-recognised as part of Azerbaijan but is populated and governed by ethnic Armenians, erupted on Sept. 27, killing hundreds of people.
In a statement in the early hours of Saturday after 10 hours of talks, Russian Foreign Minister Sergei Lavrov, who helped mediate between the two sides, said the ceasefire had been agreed on humanitarian grounds.
The International Committee of the Red Cross would help make the truce work, he said.
“The specific terms of the ceasefire still need to be agreed,” said Lavrov, who said that Armenia and Azerbaijan had also agreed to enter into what he called substantive peace talks.
Those talks would be held under the auspices of the Organization for Security and Co-operation in Europe’s (OSCE) Minsk Group, he said.
Armenian Foreign Minister Zohrab Mnatsakanyan and his Azeri counterpart Jeyhun Bayramov did not speak to reporters in Moscow after striking the ceasefire deal.
But Mnatsakanyan later paid tribute on Armenian state TV to Russian President Vladimir Putin, who he said had played a key role in making sure the talks happened and had personally intervened to help get an agreement.
RIVAL ALLEGATIONS OF ATTACKS
The Azeri defence ministry in a statement accused ethnic Armenian forces of shelling populated areas on Saturday morning, an allegation Yerevan denied.
Armenia’s defence ministry in turn accused the Azeris of using attack drones on a populated settlement inside Armenia and said it looked like Baku was trying to change the facts on the ground before the ceasefire took hold.
Ethnic Armenian officials in Nagorno-Karabakh also accused the Azeris of firing missiles at Stepanakert, the biggest town in the region, but said there was no data on casualties yet.
Baku denied shelling or using drones against civilian areas.
Nagorno-Karabkh officials said that 28 members of their defence forces had been killed in fighting since Friday.
Renewed fighting in the decades-old conflict has raised fears of a wider war drawing in Turkey, a close ally of Azerbaijan, and Russia, which has a defence pact with Armenia.
The clashes have also increased concern about the security of pipelines that carry Azeri oil and gas to Europe.
The fighting is the worst since a 1991-94 war that killed about 30,000 people and ended with a ceasefire that has been violated repeatedly.