This article presents the Demographic history of Slovenia, with census results where available.
[1] Slovenia was divided between the Austrian regions of Carniola, Austrian Littoral, Styria and Carinthia, not counting the Hungarian-owned Prekmurje region.
As a result of the rise of German nationalism, which entailed germanizing school networks, economic coercion, and language shift for economic or social reasons, the number of Slovenians in Slovenia went from 96% in 1846, 85.5% in 1880, 84.6% in 1890 and 87.3% in 1900 to 81.7% in 1910.
These developments were particularly visible in southern Carinthia, today mostly a part of Austria, largely due to the developing tourist industry on the lakes of the Klagenfurt basin.
Similar developments took place in the Prekmurje region, which was then a part of Royal Hungary, with Hungarian replacing German as the prestigious language.