Herzogtum Auschwitz
A few years later, in the First Partitions of Poland (1772), the Duchy of Oświęcim and thus the almost deserted village of Kozy, was annexed by the Habsburg Austrian Empire, as part of the Austrian Partition. Until November 1918, the Duchy of Oświęcim remained part of the Kingdom of Galicia and Lodomeria crown-lands of Austria. During the 19th-century, Kozy revived once again as one of the most affluent villages of "Oświęcim Land", famous for its skilled stonemasons, carpenters and loom weaving cloth makers. The 16th-century parish wooden church, was demolished in 1899, paving way for the new neo-Gothic style church. The 16th-century church ceiling murals, however, were preserved and transferred into the collections of the National Museum in Kraków.