On a visit to the main prison in St Petersburg in 1837, Tsar Nicholas I was shocked to find beggars mingling with common criminals, and he set up a Supreme Committee for Differentiation and Care of Beggars in St Petersburg, as well as a similar institution in Moscow.