In 1899 Shotman joined the St. Petersburg League of Struggle for the Emancipation of the Working Class and the Russian Social Democratic Labour Party at the same time. Shotman was a delegate to the Second Congress of the RSDLP and joined its Bolshevik faction after the split.