 Between 1926 and 1929, he was in the leadership of the Slovenian section of the Yugoslav Communist Party.During this period, he was arrested and imprisoned by the Yugoslav authorities on two occasions.In 1930, he emigrated to the Soviet Union.