Demographic features of the population of the historical territory of Latvia include population density, ethnic background, education level, health of the populace, economic status, religious affiliations and other aspects of the population.
Latvia was settled by Baltic tribes some three millennia ago. The territories along the eastern Baltic first came under foreign domination at the beginning of the 13th century, with the formal establishment of Riga in 1201 under the German Teutonic Knights.
Latvia, in whole or in parts, remained under foreign rule for the next eight centuries, finding itself at the cross-roads of all the regional superpowers of their day, including Denmark (the Danes held on lands around the Gulf of Riga), Sweden, and Russia, with southern (Courland) Latvia being at one time a vassal to Poland-Lithuania as well as Latgale falling directly under Poland-Lithuania rule. Through all this time, Latvia remained largely under Baltic German hegemony, with Baltic Germans comprising the largest land-owners, a situation which did not change until Latvia's independence.
Historically, Latvia has had significant German, Russian, Jewish, Polish, Belarusian and Lithuanian minorities. The majority (roughly two thirds) of Latvians, under Swedish influences, adopted Lutheranism, while the minority (the remaining third) of Latvians under Poland-Lithuania, Latgale in particular, retained their Catholicism. Aglona, in Latgale, has been the site of annual Catholic pilgrimage for centuries, even through to today.
Recently introduced immigration law in Latvia provides framework for immigration through investment in various financial areas or real estate. In 2012, solely 2,435 applications for residence permit by investment in real estate were received by Office of Citizenship and Migration Affairs. Main immigrant countries are Russia, Belarus, Ukraine and Lithuania (Lithuania is in the European Union, thus no investment is needed). Moreover, Latvia receives residence permit applications from people of nationalities such as Afghans, Chinese, Libyans and people from various other distant countries.