Under the terms of the Nazi-Soviet 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 Vilnius (known in Polish as Wilno), which was given to Lithuania, and the Suwałki region, which was annexed by Germany. These territories were largely inhabited by Ukrainians and Byelorussians, 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. A small strip of land that was part of Hungary before 1914, was also given to Slovakia.