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