ゴレスターン条約
Under the Ganja Khanate a Tatar town on the site was known as Hanahlar. Subsequently, in 1795 it was conquered by the Qajar dynasty. It was abandoned during the Russian occupation of the area which began in 1804 and was formalised by the Treaty of Gulistan (Gyulistan Peace Treaty) in 1813.