query: Who lost the Polish–Ukrainian War?
passage: Polish–Ukrainian War
Although the 70 to 75 thousand men who fought in the Ukrainian Galician Army lost their war, and the Polish territory was brought back to Poland, the experience of proclaiming a Ukrainian state and fighting for it significantly intensified and deepened the nationalistic Ukrainian orientation within Galicia. Since the interwar era, Galicia has been the center of Ukrainian nationalism.[96]
passage: History of the Ukrainian minority in Poland
The history of the Ukrainian minority in Poland dates back to the Late Middle Ages, preceding the 14th century Galicia–Volhynia Wars between Casimir III the Great of Poland, and Liubartas of Lithuania. Following the extinction of the Rurikid dynasty in 1323, the Polish Kingdom extended further east in 1340 to include the lands of Przemyśl and in 1366, Kamianets-Podilskyi (Kamieniec Podolski). After the Union of Lublin (1569), principalities of Galicia and Western Volhynia became, what is known as, the Ruthenian Voivodeship of the Polish Crown, while the rest of Red Ruthenia together with Kiev came under Lithuanian control. The Polish borders reached as far east as Zaporizhia, and Poltava.