After the February Revolution, he began to organize Belarusian groups among soldiers of the Russian Imperial Army and joined the Belarusian Military Council. He took active part in the First All-Belarusian Congress, was arrested by the Bolshevik secret police Cheka but managed to escape.