Geography of Latvia which Latvia contested after the dissolution of the Soviet Union. Latvia encompasses 64,589 square kilometers and is an extension of the East European Plain. Its flat terrain differs little from that of its surrounding neighbors. Latvia's only distinct border is the Baltic Sea coast, which extends for 531 kilometers. Its neighbors include Lithuania on the south (453 kilometers of common border), Estonia on the north (267 kilometers), Russia on the east (217 kilometers), and Belarus on the southeast (141 kilometers). Prior to World War II, Latvia bordered eastern Poland, but as a result of boundary changes by the Soviet Union,
Poland–Russia border Soviet Union (USSR), shaped during the Polish-Soviet War, and confirmed at the Treaty of Riga at the line Dzisna-Dokshytsy-Słucz-Korets-Ostroh-Zbrucz. That border was long. Following World War II, the new border (see territorial changes of Poland immediately after World War II) was drawn between the People's Republic of Poland and the USSR. The new Polish-Soviet border was long at first, and subject to a minor modification in the 1951 Polish–Soviet territorial exchange, which reduced the border length to . The modern border between Poland and Russia is regulated by a number of legal documents, many of them dating to the times