In 1665, the Russian army attacked the city several times, and in 1701 the city was occupied by the Swedish Army.
在1665年，该城曾数次遭受俄国军队袭击，在1701年又被瑞典军队占领。