Complex sentence: Following the invasion, the territory of the interwar Poland was divided in September 1939 between the Nazi Germany and the USSR and the city was attached to Soviet Ukraine under the terms of the Ribbentrop-Molotov pact.
Split into simpler sentences: Following the invasion, the territory of the interwar Poland was divided in September 1939 between the Nazi Germany and the USSR. The city was attached to Soviet Ukraine under the terms of the Ribbentrop-Molotov pact.