Town associated with Duke Bolek I the Strict, whose palm still dominates the town's coat of arms. Municipal rights were granted in 1294.