After World War I, the fall of Austria-Hungary, the 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.