 Complete the following phrase:  In the 15th century, it became part of the newly formed Duchy of Pszczyna. During the political upheaval caused by Matthias Corvinus the duchy was overtaken in 1480 by Casimir II, Duke of Cieszyn from the Piast dynasty, who sold it in 1517 to the Hungarian magnates of the Thurzó family, forming the Pless state country. In the accompanying sales document issued on 21 February 1517 the village was mentioned as Kobyer. Along with the Kingdom of Bohemia in 1526 it became part of the Habsburg Monarchy. In the War of the Austrian Succession most of Silesia was conquered by the Kingdom of Prussia, including the village, and in 1871 it became part of the German Empire. After World War I, Poland regained independence, and following the subsequent Polish 