National awakening and independence
The Estonian national awakening began in the 1850s as several leading figures started promoting an Estonian national identity among the general populace. Widespread farm buyouts by Estonians and the resulting rapidly growing class of land-owning farmers provided the economic basis for the formation of this new "Estonian identity". In 1857 Johann Voldemar Jannsen started publishing the first successful Estonian-language weekly newspaper, and began popularising the denomination of oneself as eestlane (Estonian). The first nationwide movements formed, such as a campaign to establish an Estonian-language secondary school, the founding of the Society of Estonian Literati and the Estonian Students' Society, and the first national song festival, held in 1869 in Tartu. The national epic Kalevipoeg was published in 1862, and 1870 saw the first performances of Estonian theatre. In 1878 a major split happened in the national movement. The moderate wing led by Jakob Hurt focused on development of culture and Estonian education, while the radical wing led by Carl Robert Jakobson started demanding increased political and economical rights.
In the 1890s, the central government of the Russian Empire launched a Russification campaign in order to tie the Baltic governorates more closely to the empire administratively and culturally. Russian language replaced German and Estonian in most secondary schools and universities, and many societal activities in local languages were suppressed. In the late 1890s, prominent figures like Jaan Tõnisson and Konstantin Päts rose in a new surge of nationalism. By the early 20th century, Estonians started taking over their German-run town governments.
During the 1905 Revolution, the first legal Estonian political parties were founded. An Estonian national congress was convened and demanded the unification of Estonian areas into a single autonomous territory and an end to Russification. The unrest was accompanied by both peaceful demonstrations and violent riots. The Tsarist government responded with a brutal crackdown; some 500 people were executed and hundreds more jailed or deported to Siberia.
In 1917, following the collapse of the Russian Empire, the Russian Provisional Government yielded to popular demand and the two main Estonian-speaking governorates were merged into one Autonomous Governorate of Estonia, and the Estonian Provincial Assembly was then elected. Bolsheviks seized power in Estonia in November 1917, and disbanded the Provincial Assembly. However, the Provincial Assembly established the Salvation Committee, and during the short interlude between Russian retreat and German arrival, the committee declared the independence of Estonia on 24 February 1918, and formed the Estonian Provisional Government. German occupation immediately followed, but after Germany's capitulation in World War I, they were forced to return power to the Estonian government on 19 November 1918.
On 28 November 1918 Soviet Russia invaded, starting the Estonian War of Independence. The Red Army came within 30 km of Tallinn, but in January 1919, the Estonian Army, led by Johan Laidoner, went on a counter-offensive, ejecting Bolshevik forces from Estonia within a few months. Renewed Soviet attacks failed, and in spring, the Estonian army, in co-operation with White Russian forces, advanced into Russia and Latvia. In June 1919, Estonia defeated the German Landeswehr which had attempted to dominate Latvia. The Red Army launched a final offensive against Narva in late 1919, but failed to achieve a breakthrough. On 2 February 1920, the Tartu Peace Treaty was signed by Estonia and Soviet Russia, with the latter pledging to permanently give up all sovereign claims to Estonia.
In April 1919, the Estonian Constituent Assembly was elected. They passed a sweeping land reform and adopted a highly liberal constitution, establishing Estonia as a parliamentary democracy. Estonia joined the League of Nations in 1921. Estonia enjoyed rapid economic growth during the interwar period. Land reforms improved the farmers' conditions, but the country also prospered from industrialisation and the development of oil shale mining. With independence, most economic links with Russia dissolved, but trade rapidly reoriented towards Western markets. Estonia's cultural-autonomy law for ethnic minorities, adopted in 1925, was one of the most liberal of its time.
The Great Depression strained Estonia's political system, and in 1933 the right-wing Vaps movement spearheaded a constitutional reform establishing a strong presidency. On 12 March 1934 the acting head of state, Konstantin Päts, extended a state of emergency over the entire country, under the pretext that the Vaps movement had been planning a coup. Päts ruled by decree for several years while parliament did not reconvene ("era of silence"). The Päts régime was relatively benign compared to other authoritarian régimes in interwar Europe, never using violence against political opponents. A 1937 referendum adopted a new constitution. In 1938, an election including opposition candidates provided a new bicameral parliament. Estonia signed non-aggression pacts with the Soviet Union in 1932, and with Germany in 1939. In 1939, Estonia declared neutrality, but this proved futile in World War II.