 From 1894, he also worked as a librarian at the Library of the Russian Academy of Sciences.In 1904–1917, he was state censor of Lithuanian theater plays.He had a reputation as a lenient censor who allowed patriotic and historical plays that glorified episodes from the former Grand Duchy of Lithuania but was stricter on any commentary related to social inequality.