Russia said Azerbaijan and Armenia have agreed to meet in Moscow on Friday for negotiations on ending the fighting over Nagorno-Karabakh, after President Vladimir Putin called for talks.
"Baku and Yerevan have confirmed their participation in the consultations in Moscow," Russian foreign ministry spokeswoman Maria Zakharova told Agence France-Presse.
"Active preparations are under way," she said, with the talks expected to take place later on Friday and involve the two countries' foreign ministers.
Mr Putin's invitation to Azeri Foreign Minister Jeyhun Bayramov and his Armenian counterpart Zohrab Mnatsakanyan comes after more than a week of intense fighting between Azerbaijan and the Armenian-majority breakaway region of Nagorno-Karabakh supported by Armenia.
Armenia had ruled out any talks between the two countries' top diplomats as long as clashes continued and did not take part in closed door meetings in Geneva on Thursday between the Azeri foreign minister and diplomats from France, Russia and the United States, who make up the "Minsk Group" that has sought a solution to the Karabakh conflict since the 1990s.
Nagorno-Karabakh is an Azerbaijani region controlled by Armenians who declared an unrecognised breakaway statelet after the fall of the USSR and emerged victorious from the war that followed.
The current fighting is the worst since a 1994 ceasefire, claiming hundreds of lives including civilians as both sides doubled down on entrenched positions over who should control the region.
Heavy bombardments have levelled many homes since fighting erupted late last month and the region's main city of Stepanakert is pockmarked with unexploded ordnance and wide craters from shelling.
International leaders have repeatedly called for an immediate halt to the fighting but there are no signs yet of the conflict abating.
Turkey has voiced strong backing for Azerbaijan, raising fears in the West that the conflict could spiral into a full-blown war embroiling Ankara with Moscow, which has a military treaty with Armenia.
Mr Putin and French President Emmanuel Macron are among the world leaders to denounce the reported deployment of pro-Turkish fighters from Syria and Libya to Karabakh. Iran on Wednesday warned of "terrorists" who had joined the conflict from abroad.
Azerbaijan announced on Thursday that it was recalling its ambassador to Athens following reports that Greek citizens were joining Armenian forces in Karabakh.