However, after the death of Joseph II the situation gradually eased. Theology courses were restored to a full five years, while Philosophy was extended to three years and by 1810 Legal Studies took four years. By 1804 the Lyceum had some 730 students, which was comparable with University of Prague's 760. In 1805 studies were temporarily suspended, as many students entered the army during the Napoleonic Wars. Another suspension of lectures took place in 1809 because the Lyceum's buildings were taken over to accommodate army personnel. In 1826, there were altogether 26 professors at the Lyceum. Attempts to restore the Lyceum to full university status finally succeeded in 1827, when the Cardinal Archbishop of Olomouc, Rudolf Johannes Joseph Rainier von Habsburg-Lothringen (brother of the Emperor Francis II), persuaded the Emperor to promote the Lyceum, which now became the Francis University, with Faculties of Philosophy, Theology, and Law and School of Medicine and Surgery. The university was again reaching its previous standard. For example, in 1839 there were seven law, seven philosophy and one theology doctoral degrees awarded, while 25 graduates obtained diploma in medicine and surgery. The number of students of Medicine and Surgery rose to some 100 every year, which was the second highest in the lands under control of Austrian Habsburgs (after University of Graz). Olomouc became important centre of Czech National awakening. In 1834 the Department of Czech Language and Literature was established at the Academy. The 1848 revolution was welcomed by the university's students and professors. Some 11,000 people lived in Olomouc by this time, which was only a third of estimated population level back in 1600. The local garrison in 1848 nevertheless contained some 5,000 soldiers, which was a powerful anti-revolutionary force. Mostly the students and professors of law and philosophy were supportive of the Revolution, while the theologians distanced themselves from it. In March 1848 the students and professors petitioned the Emperor requesting, among other things, lectures in the Czech language and extensions to the university's freedoms and privileges. Later during the same month they established armed Academic Legion of 382 men: its first company consisted of lawyers while the second comprised philosophers and members of the medical faculty. Many of these left Olomouc in order to support the actions of revolutionary students in Vienna. Leading revolutionaries from Olomouc University included professors Ignác Jan Hanuš, Jan Helcelet and Andreas Jeitteles.