An agreement on a ceasefire has been reached in the conflict between Armenia and Azerbaijan in Nagorno-Karabakh, according to Reuters.

Russian Foreign Minister sitting at the negotiating table with the countries Sergei Lavrov announced that the ceasefire would begin at noon on Saturday. The agreement came after ten hours of negotiations.

During the ceasefire, it is planned to exchange prisoners and the bodies of those who died in battles. According to the BBC, more than 300 people have died in the fighting and thousands have been forced to flee their homes. The fighting in the area began on September 27, and has therefore continued for nearly two weeks.

According to Lavrov, they are now moving forward in discussions to resolve the conflict.

The parties have been fighting for the area for a long time. Nagorno-Karabakh has declared independence, but is highly dependent on Armenia. Geographically, it is within the borders of Azerbaijan. Soviet leader Joseph Stalin eventually annexed the region to Azerbaijan, but after the break-up of the Soviet Union, Armenia invaded the region in 1992 and took it back for itself.

The original war over ownership of Nagorno-Karabakh in the 1990s claimed some 30,000 lives.