He was involved in the Russian Revolution of 1905 and was briefly arrested in its aftermath. He was elected to the Fourth State Duma where he advocated self-determination for the peoples of Russia. After the February Revolution of 1917, he worked for the Special Transcaucasian Committee as a Commissar for Internal Affairs and was elected, in June 1917, a member of All-Russian Central Executive Committee.