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,
History of Finland contributed to the early stages of the Livonian War which was a warlike era which lasted for 160 years. In the first phase, Sweden fought for the lordship of Estonia and Latvia against Denmark, Poland and Russia. The common people of Finland suffered because of drafts, high taxes, and abuse by military personnel. This resulted in the Cudgel War of 1596–1597, a desperate peasant rebellion, which was suppressed brutally and bloodily. A peace treaty (the Treaty of Teusina) with Russia in 1595 moved the border of Finland further to the east and north, very roughly where the modern border lies.