Tsardom of Russia
It was founded in 1637 as a fortress defending the southern borders of the Tsardom of Russia. It was granted town status in 1777.