 It shared the history of the surrounding lands of the Kingdom of Galicia and Lodomeria for the rest of the 19th century.Following World War I the area was disputed between Poland and the West Ukrainian People's Republic (ZUNR) in what became known as the Polish-Ukrainian War.In June 1919, during the Chortkiv offensive, the 1st Galician Corps of the ZUNR under Osyp Mykytka seized the town, but it was retaken by Polish forces under Józef Haller the following month.