 Mongols leveled the town leaving only the cellars.The first time the town was mentioned in written sources was in 1148.For many years it belonged to the Kiev Voivodeship within the Polish–Lithuanian Commonwealth.