Estonia–Latvia relations members of the Baltic Free Trade Area from 1994 until 2004 after which they joined the European Union. In 2006, Latvia accounted for 3% of Estonian exports. Latvia accounted for 5% of Estonian imports. There are 15 bilateral agreements between the 2 countries many of them signed trilaterally with Lithuania. The three Baltic countries signed a trilateral defence agreement on 12 February 1995. Estonia–Latvia relations Estonia and Latvia, the two northernmost Baltic states, share 343 km of common borders. Both states share a long common history, having since the 13th century been ruled by the Livonian Order, Poland-Lithuania, Sweden and
Estonia establish a larger alliance together with Finland, Poland, and Latvia failed, with only a mutual defence pact being signed with Latvia in 1923, and later was followed up with the Baltic Entente of 1934. In the 1930s, Estonia also engaged in secret military cooperation with Finland. Non-aggression pacts were signed with the Soviet Union in 1932, and with Germany in 1939. In 1938, Estonia declared neutrality, but this proved futile in World War II. On 23 August 1939 Germany and the Soviet Union signed the Molotov–Ribbentrop Pact. The pact's secret protocol divided Eastern Europe into spheres of influence, with Estonia