He joined the Russian Social Democratic Labour Party (RSDLP) in 1902 and supported its Bolshevik faction when the party split into Bolsheviks and Mensheviks at its Second Congress in 1903. Bagotsky worked as a Bolshevik agent in Moscow and Saint Petersburg and played an active role in the Russian Revolution of 1905.