In the waning days of the Habsburg Empire, both Polish and Ukrainian populations were preparing to form their own separate states in the former Austrian territories. The mixed ethnic populations resulted in large parts of Galicia being perceived as "Polish" or "Ukrainian" simultaneously, which was the main reason for the coming conflict.