Located about 30 kilometers northeast of the Silesian capital Wrocław, it has been a stop on an important trade route to the Greater Poland region, Kalisz, Łódź and Warsaw; it had close ties with Kraków via Namysłów in the east.