He was called up for the Imperial Army in 1916. In 1917 he was elected to the regional bureau of the Moscow Soviet, and he played a role in the Bolshevik seizure of power in that city in October of that year. He joined the Cheka September in 1918, where he headed the investigations department. He was also vice-chairman of the Moscow Cheka.