Duchy of Opole
Politically it belonged then to the Duchy of Opole and Racibórz and Castellany of Cieszyn, which was in 1290 formed in the process of feudal fragmentation of Poland and was ruled by a local branch of Piast dynasty. In 1327 the duchy became a fee of Kingdom of Bohemia, which after 1526 became part of the Habsburg Monarchy.