Duchy of Racibórz
Politically it belonged initially to the Duchy of Racibórz, within feudally fragmentated Poland, ruled by a local branch of the Silesian Piast dynasty. In 1327 the Upper Silesian duchies became a fee of the Kingdom of Bohemia, which after 1526 became part of the Habsburg Monarchy. After Silesian Wars it became a part of the Kingdom of Prussia.