In the 19th century it was the fourth largest city of Imperial Russia , after Moscow , Saint Petersburg and Warsaw .
In the 19th century it was the fourth city of Imperial Russia , after Moscow and St. Petersburg , and Warsaw .