 In 1999 the population of the city was reported as 5,000.Most of the population belonged to the Shiite Muslim sect with Armenians and Russians forming a minority.The city may have been established by the 14th century, or earlier.