 The Mongols and the Tatars were opposed near the settlement by Polish knights from the provinces of Sandomierz and Kraków.In the town there is a monument dedicated to this battle.At the beginning the settlement was a property of the dukes of Sandomierz, but in the 13th century it became owned by the Odrowąż family.