Between the early 18th century and early 19th century, the Slovene lands experienced a period of peace, with a moderate economic recovery starting from mid-18th century onward.
Between 1805 and 1813, the Slovene-settled territory was part of the Illyrian Provinces, an autonomous province of the Napoleonic French Empire, the capital of which was established at Ljubljana.