Mentioned as early as 1250, and granted town rights in the 16th century. The pearl of the town is the Renaissance castle, seat of the Proskowski family.