 From 1897 to 1902, he taught Slavic philology at the University of Vienna, from 1902 to 1917 at the University of Graz, and from 1917 to 1920 at the University of Leipzig.From 1920 to 1931, he taught at Charles University in Prague, where he settled and lived until his death in 1952.At the Charles University he founded the Slavic Institute ("Slovanský ústav"), which he led until 1941.