Before the word Latvia was ever printed on a map, the territory now known as the Republic of Latvia was a mosaic of duchies, bishoprics, and imperial provinces. For centuries, Courland, Latgale, Vidzeme, and Zemgale belonged to different realms: the Polish-Lithuanian Commonwealth, the Swedish Empire, and later the Russian Empire. Though the Latvian language and identity persisted among the peasantry, no political unity existed. Instead, borders were determined by foreign powers—drawn for taxation, military campaigns, or church authority. Yet in the minds of Latvian speakers, the notion of a shared homeland began to stir.