The town had 6,300 Azerbaijani inhabitants in 1991. Most of the inhabitants fled during the town's capture by ethnic Armenian forces in 1992 during the First Nagorno-Karabakh War and hundreds were killed in the Khojaly massacre. The town subsequently became part of the Askeran Province of the Republic of Artsakh and was settled by Armenians. The town had 908 inhabitants in 2005, and 1,397 inhabitants in 2015.