 In the 14th and 15th centuries, it was part of Lithuania.Ivan III ("the Great") attached the area to Russia by the end of the 15th century.The region was attacked by the Tatars in 1507, 1512, 1530, 1536 and 1544.