Historically, higher schools offering the study of general medicine, surgery, architecture, law and theology, started to operate in Ljubljana during the French occupation of the Slovene Lands, in 1810–11. Austro-Hungarian Empire never allowed Slovenes to establish their own university in Ljubljana and the University of Ljubljana, Slovenia's most important university, was founded in 1919 after Slovenes joined the first Yugoslavia. When it was founded, the university comprised five faculties: law, philosophy, technology, theology and medicine. From the beginning, the seat of the university has been at Congress Square in a building that served as the State Mansion of Carniola from 1902 to 1918.