Clashes began on the morning of 27 September 2020 along the Line of Contact. Total casualties were in the low thousands. Following the capture of Shusha, the second-largest settlement in Nagorno-Karabakh, by Azerbaijani forces, a ceasefire agreement was signed between Azerbaijan and Armenia, ending all hostilities in the area. Under the agreement, Armenia returned the surrounding territories it occupied in 1994 to Azerbaijan while Azerbaijan gained land access to its Nakhchivan exclave.