 In 1580 king Stephen Báthory granted the town a privilege of organizing more fairs.At the beginning of the 17th century the ownership of the town was transferred to the Gołuchowski family.In the 16th and 17th centuries the town was a major centre of Polish Protestants (Calvinists and the Polish Brethren).