Опольское княжество
The town was first mentioned in 1305 when it was part of the Duchy of Opole.