 Under the terms of the Molotov–Ribbentrop pact, adjusted by agreement on 28 September 1939, the Soviet Union, annexed all Polish territory east of the line of the rivers Pisa, Narew, Bug and San, except for the area around Wilno (Vilnius), which was given to Lithuania, and the Suwałki region, which was annexed by Germany.These territories were largely inhabited by Ukrainians and Belarusians, with minorities of Poles and Jews (see exact numbers in Curzon line).The total area, including the area given to Lithuania, was 201,000 square kilometres, with a population of 13.5 million.