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,
Finland–Russia border Finnish reindeer fence. Unlike other Western countries, the government of Finland did not protect illegal border crossers but returned them to the Soviet authorities if captured. Illegal border crossers had to get through Finland to e.g. Sweden in order to defect to the West. In the Moscow Armistice signed on 1944 between Finland, Soviet Union and United Kingdom, a small peninsula towards the Gulf of Finland, Porkkala, was rented to Soviet Union as a military base. This created in effect a southern border crossing to the Soviet exclave, operating all the way to 1956. Border crossings were in and .