After the end of World War I, both of the two newly created independent states of Poland and Czechoslovakia claimed the area of Cieszyn Silesia. On 23 January 1919 Czech units led by Colonel Josef Šnejdárek invaded the area, and clashed after its swift advance with Polish units commanded by General Franciszek Latinik near Skoczów where a battle took place on 28–30 January. It was inconclusive, and before the reinforced Czech forces could resume the attack on the town, they were pressed by Entente to stop operations and a cease-fire was signed on 3 February. On 28 July 1920 by decision of the Spa Conference Skoczów became a part of the Second Polish Republic. It was then annexed by Nazi Germany at the beginning of World War II. After the war it was restored to Poland.