Until 1988, the town had a small Azerbaijani community among a majority of Armenians. However, after the breakout of the First Nagorno-Karabakh War in 1988–1989, the Azeris of the town left for Azerbaijan. Simultaneously, the town received 1,154 Armenian refugees from Azerbaijan, mainly escaping the Sumgait massacres.