On 16 February 1876, he was appointed the
docent of Charles University in Prague. He worked as a private lecturer in state law. From 25 September 1879, and from January 11, 1884, he was a professor at the German University in Prague (in the early 1880s there was a joint Czech-German University at Charles University). From 1897 to 1898, he held the post of rector of the university, and was also Dean of the Faculty of Law twice (from 1890 to 1891 and from 1906 to 1907). He held this position during difficult times of extreme Czech-German conflict related to the
Badeni language regulations, when there were verbal and physical confrontations between students of the two nationalities. In June 1897, Ulbrich's proposal for resolving language issues in the Czech Republic was published in the
Neue Freie Presse, which joined calls for an administrative division of the country by national borders, including alterations to the boundaries of judicial districts. In 1898, he received the title of court council. From 1900 onward, he was chairman of the German Association for the Dissemination of Public Information (). From 1901 onward, he was chairman of the board of examiners for statecraft. In 1904, he was re-elected rector of the German University in Prague, but declined to continue. From 1905 onward, he was chairman of the expert board for copyright, and was also active in the Association for the History of the Germans in Bohemia (). He wrote, among other works,
Lehrbuch des österreichischen Staatsrechts (Berlin, 1883), and
Lehrbuch des österreichischen Verwaltungsrechts (Vienna, 1904). His speciality was political science and administrative law. ==Political career==