Duchy of Opole
The settlement on the road from Cieszyn to Kraków was first mentioned in a 1258 deed, when it was part of fragmented Piast-ruled Poland. Żory is one of the oldest towns in Silesia, it was granted city rights according to Magdeburg Law on 24 February 1272 by Duke Władysław of Opole. It remained part of the Upper Silesian Duchy of Opole, since 1327 a Bohemian fief, until in 1532 it was incorporated into the Lands of the Bohemian Crown. In 1645 along with the Duchy of Opole and Racibórz it returned to Poland under the House of Vasa, and in 1666 it fell back to Bohemia. In the 18th century, it was centre of cloth manufacturing, later of metal and machining industry.