Polish rule over the provinces ended in September 1939, following Nazi and Soviet attack. After the Battle of Lviv, units of the Red Army entered regional capital, Lviv, and following the staged Elections to the People's Assemblies of Western Ukraine and Western Belarus, both eastern Galicia and Volhynia were annexed by the Soviet Union.