Latvia exists as one of three Baltic states positioned on the eastern shore of the Baltic Sea. The country occupies 64,589 square kilometers wedged between Estonia to the north and Lithuania to the south, with Russia forming its eastern border and Belarus touching its southeast corner. This territory divides into four historical regions that predate modern political boundaries: Vidzeme in the northeast, Kurzeme along the western coast, Zemgale in the central south, and Latgale in the southeast. The Daugava River cuts through the country from east to west, eventually emptying into the Gulf of Riga after passing through the capital city. Latvia's population stood at 1,875,757 in the 2023 census, marking a continued decline from the 2.67 million recorded in 1989. Ethnic Latvians comprise 63.7 percent of this total, while Russians constitute 24.5 percent, with smaller populations of Belarusians, Ukrainians, and Poles filling out the remainder. The demographic composition reflects centuries of migration, occupation, and political transformation that created one of Europe's more ethnically diverse small nations.
The ancestors of modern Latvians arrived in the Baltic region approximately four thousand years ago, speaking languages belonging to the Baltic branch of Indo-European. By the early medieval period, distinct tribal groups occupied the territory: the Latgalians in the east, Selonians in the south, Semgallians in the central region, and Couronians along the western coast. These tribes practiced polytheistic religions centered on nature worship, maintained agricultural economies, and engaged in amber trade along routes connecting Scandinavia to the Mediterranean. The Couronians developed particularly strong maritime traditions, conducting both trade and piracy expeditions across the Baltic Sea. Archaeological evidence from the 9th through 12th centuries reveals fortified hillforts, sophisticated metalworking, and trade connections extending to Byzantium and the Islamic world. The tribal period ended not through internal unification but through external conquest.
German crusaders arrived in 1185 when Augustinian monk Meinhard of Holstein established a mission at Ikšķile on the Daugava River. Pope Celestine III authorized a crusade against the Baltic pagans in 1193, initiating a military campaign that would span four decades. The Livonian Brothers of the Sword, a German military order founded in 1202, systematically conquered the tribal territories through superior military technology and strategic castle construction. Bishop Albert of Riga established the city of Riga in 1201 at the mouth of the Daugava, creating a base for both religious conversion and commercial expansion. By 1290, German control extended across all Latvian territories. The conquest brought Christianity, feudalism, and integration into the Hanseatic League trading network, but it also established a social structure that would persist for six centuries: German nobles and clergy ruled over Latvian peasant populations who lost their lands and freedoms. This German Baltic aristocracy maintained cultural and economic dominance while the indigenous population provided agricultural labor under increasingly restrictive serfdom.
The Reformation reached Livonia in the 1520s, and by 1561 Lutheranism had become the dominant religion. That same year brought political fragmentation when the last Master of the Livonian Order, Gotthard Kettler, secularized the remaining crusader state and created the Duchy of Courland and Semigallia as a Polish-Lithuanian vassal state. The Duchy occupied the western and southwestern portions of modern Latvia while the northern and eastern territories fell under Polish-Lithuanian direct rule. The Duchy of Courland experienced its greatest prosperity under Duke Jacob Kettler, who ruled from 1642 to 1682 and established colonial possessions in Tobago and on the Gambian River in Africa. Courland maintained a merchant fleet of approximately 100 ships and developed shipbuilding facilities at Ventspils. The Polish-Swedish Wars of the 17th century transferred Vidzeme to Swedish control in 1629, introducing administrative reforms that marginally improved peasant conditions through limitations on forced labor obligations.
Russia absorbed the Latvian territories through three separate acquisitions spanning a century. Peter the Great captured Vidzeme during the Great Northern War, formalizing Russian control in the Treaty of Nystad in 1721. The three partitions of Poland between 1772 and 1795 brought Latgale under Russian rule, while the Duchy of Courland was annexed in 1795. Russian administration maintained the Baltic German aristocracy as the governing class, preserving their legal privileges, German language use, and Lutheran church structures. Serfdom persisted in the Russian Baltic provinces until emancipation laws passed between 1817 and 1819, though landless peasants remained economically dependent on German landowners for decades afterward. The 19th century brought industrialization concentrated in Riga, which grew into the Russian Empire's third-largest city by 1897 with a population of 282,230. Riga's factories produced railway cars, machinery, textiles, and rubber products for the imperial market. This industrial development created an urban working class while the countryside remained dominated by German-owned agricultural estates.
The Latvian national awakening emerged during the 1850s and 1860s as the first generation of educated Latvian intellectuals challenged German cultural dominance. Krišjānis Valdemārs, Krišjānis Barons, and Atis Kronvalds led this movement, advocating for Latvian-language education, publishing, and cultural institutions. Barons spent thirty years collecting Latvian dainas, traditional four-line folk songs, eventually cataloging 217,996 texts published in six volumes between 1894 and 1915. These dainas became foundational to Latvian cultural identity, preserving pre-Christian mythology, agricultural customs, and linguistic heritage. The poet Rainis and his wife Aspazija produced works that combined Latvian national themes with socialist politics, both spending years in exile for revolutionary activities. The first Latvian Song Festival occurred in 1873 in Riga, drawing 1,003 singers and establishing a tradition that continues every five years. Latvian national consciousness intensified during the 1905 Russian Revolution when rural uprisings targeted German manor houses, resulting in punitive expeditions that killed approximately 1,000 people and forced revolutionary leaders including Rainis into exile.
World War I devastated Latvian territories. German forces occupied Courland in 1915 and captured Riga in September 1917, displacing hundreds of thousands of civilians and destroying industrial infrastructure. Approximately 250,000 Latvian men served in Russian military formations, including dedicated Latvian Rifle units that gained reputation for combat effectiveness on the Eastern Front. The collapse of both the Russian and German empires in 1918 created conditions for independence. On November 18, 1918, the Latvian People's Council proclaimed the Republic of Latvia with Kārlis Ulmanis as prime minister. This declaration initiated a complex struggle for control involving Bolshevik forces seeking to establish Soviet power, German Freikorps units and Baltic German landowners attempting to maintain influence, and the nascent Latvian government defending independence. The Latvian War of Independence lasted until 1920, involving simultaneous conflicts against Soviet Russian forces and the German-aligned West Russian Volunteer Army. The decisive Battle of Cēsis in June 1919 defeated the German forces, while continued fighting pushed Bolshevik armies eastward. The Treaty of Riga, signed August 11, 1920, established peace with Soviet Russia and secured international recognition of Latvian independence.
Interwar Latvia functioned as a parliamentary democracy with significant economic challenges and ethnic tensions. The 1920 agrarian reform expropriated Baltic German estates, distributing land to 54,000 new smallholders and fundamentally restructuring rural society. Riga remained an important Baltic port, but the loss of Russian markets and competition from Soviet-built ports reduced trade volumes. The country developed agricultural exports, particularly butter and bacon to Great Britain and Germany, while Riga maintained timber processing and light manufacturing. Political life proved fractious with frequent government changes. Between 1922 and 1934, Latvia had 13 different governments representing shifting coalition arrangements among more than 20 political parties. On May 15, 1934, Prime Minister Kārlis Ulmanis dissolved parliament in a bloodless coup, establishing an authoritarian regime that banned political parties, censored opposition, and concentrated power in the executive. Ulmanis promoted Latvian economic nationalism, creating state monopolies and reducing the economic influence of Germans and Jews, though his regime avoided the extreme violence characteristic of contemporary fascist states.