Within three years of his appointment he increased the number of primary schools in the rural areas of the district from 9 to 18. He was also very keen on establishing a central public study library in Ljubljana and it was on his initiatives that the Lyceum Library in Ljubljana, the predecessor of the present National and University Library of Slovenia. From the early 1780s on, Linhart began frequenting a circle of Slovene enlighteners who met in the Zois Mansion in Ljubljana. There, he met several intellectuals, including Sigmund Zois, Valentin Vodnik, Jernej Kopitar, Jurij Japelj and others, in whose company he developed an interest in Slovene language, culture, and history. He wrote two plays in Slovene and then began a project to write the first comprehensive history of the Slovene Lands but did not finish it. He unexpectedly died in Ljubljana on the night of July 14, 1795, around midnight, from aortic aneurysm. He has a tombstone in the Navje memorial park in Ljubljana, alongside other important personalities of Slovene history, but it is not certain that he has been indeed buried there. Work His first literary work, written while still studying, was a book of poems titled Blumen aus Krain (Flowers from Carniola), written in German. His first tragedy Miss Jenny Love (also in German) was published in 1780. Under the influence of Slovene enlighteners, especially Marko Pohlin and Sigmund Zois, he began writing in Slovene. He translated and adapted the comedy of the German dramatist Joseph Richter Die Feldmühle (The Country Mill). His title for it was Županova Micka (Micka, the Mayor's Daughter). It is regarded as the first comedy and theatrical play in Slovene and was premiered on December 28, 1789. He also adapted Beaumarchais's comedy The Marriage of Figaro into a new play Ta veseli dan ali Matiček se ženi (This Merry Day or Matiček's Wedding). As a historian he wrote a two-volumed work in German Versuch einer Geschichte von Krain und der übrigen südlichen Slaven Oesterreichs (An Essay on the History of Carniola and Other Austrian South Slavs). The first volume was published in 1788 and describes the proto-Slavic era. The second, titled Versuch einer Geschichte von Krain und den übrigen Ländern der südlichen Slaven Oesterreichs (An Essay on the History of Carniola and Other Lands of the Austrian South Slavs) was published in 1791. It deals with the age of migrations, the Slavic