Shortly after the republic proclaimed independence from the Austro-Hungarian Empire a popular uprising took place in Lviv, where most residents were Polish and did not want to be part of a non-Polish state.