Town founded around the year 1225 on the old transport route from Nysa to Kraków. Town rights granted on 29.11.1311.