The town was the second largest Azerbaijani town in the former Nagorno-Karabakh Autonomous Oblast until the exodus of its population during the First Nagorno-Karabakh War.