For the first time a settlement under the name of Kachibey was mentioned in 1396. Since the end of the XIV century the town depended on the Crimean Khanate. It had been under the jurisdiction of Russia since 1791. The town has got modern name in 1795.