Tito was born in Komrovec, Croatia, where his parents had a small farm. He went to the village elementary school until 1905. In 1907 he was machinist's apprentice in Sisak. In 1910 he joined the union of workers and social-democratic party of Croatia and Slavonia. In 1913 he entered the Austro–Hungarian Army and later was imprisoned for anti-war propaganda. During World War I he was wounded, captured, then imprisoned by Russians. After being set free, he became active in the bolshevik movement. After the October Revolution, he joined the Red Guards (Russia). In 1920 Tito came back to the new nation Yugoslavia and joined the Communist party. This was later renamed Yugoslav Communist League in 1952. Tito (Babo) was the leader of the Communist party from 1937 until his death. In 1921 the Yugoslav communist party was banned. Tito was imprisoned from 1928 until 1933 for being a communist. In 1934 he went back to Soviet Union and he was involved as secret agent in NKVD.