After World War I, fall of Austria-Hungary, Polish–Czechoslovak War and the division of Cieszyn Silesia in 1920, it became a part of Second Polish Republic and was transferred to Cieszyn County. It was then annexed by Nazi Germany at the beginning of World War II. After the war it was restored to Poland.