During the February Revolution of 1917, he was an agitator of the Petersburg Party Committee, then secretary of the factory committee, and member of the Vyborg District Party Committee. Delegate of the VI Congress of the Russian Communist Party (b). Stesky was a participant of the October uprising in Petrograd and the suppression of the Kerensky-Krasnov rebellion. From 1918 to 1920 he worked in military-political and staff of the Red Army .