 The town acquired several royal privileges (especially the privilege to trade with Polish salt) that positively influenced its economic development.In 1520, the town became the seat of Orava County.In the 16th century, the region suffered several uprisings, therefore George Thurzo granted citizens additional privileges to improve the economic situation.