sentences:  After the reinstitution of the Jesuit order by Pope Pius VII in 1814, the Jesuits directed the school from 1839 until 1848, when the regional seat was ultimately abandoned.The "Gymnasialreform of 1849" created the first Ministry of education in the Habsburg Empire ("Ministerium für Cultus und Unterricht") and reorganised primary and secondary education in the empire, giving the state final control over education at the expense of religious institutions that had executed these duties for centuries