He was educated at the University of St. Petersburg, with his first thesis (1872) dedicated to Nicetas Choniates. For two decades (1874-1894) he read lectures at the Novorossiysky University in Odessa. This position allowed him to spend considerable time abroad.