Following the capture of Shusha, the second-largest settlement in Nagorno-Karabakh, a ceasefire agreement was signed between the President of Azerbaijan, Ilham Aliyev, the Prime Minister of Armenia, Nikol Pashinyan, and the President of Russia, Vladimir Putin, ending all hostilities in the area from 00:00, 10 November 2020 Moscow Time. The President of Artsakh, Arayik Harutyunyan, also agreed to end the hostilities. Under the agreement, the warring sides will keep control of their currently held areas within Nagorno-Karabakh, while Armenia will return the surrounding territories it occupied in 1994 to Azerbaijan. Azerbaijan will also gain land access to its Nakhchivan exclave bordering Turkey and Iran. Approximately 2,000 Russian soldiers will be deployed as peacekeeping forces along the Lachin corridor between Armenia and Nagorno-Karabakh for a mandate of at least five years.