Duchy of Oświęcim
In the course of history, the area has been part of several territorial border changes. Politically, both settlements—old and new, belonged to the Duchy of Opole and Racibórz, and the castellany gord of Oświęcim ceded from Lesser Poland around 1177 by duke Casimir II the Just to the duke of Opole—Mieszko I Tanglefoot, which in 1315 was formed in the process of the feudal fragmentation of Poland into the Duchy of Oświęcim, ruled by the local dukes of the Silesian Piast dynasty. In 1327, the Duchy of Oświęcim became a fiefdom of the Kingdom of Bohemia within the Holy Roman Empire.