The first written record dates back to 1223, promoted to town status by the sons of George of Poděbrady in 1472