Once Lenin's heir apparent, in 1925 he was removed as Commissar of War; by 1929 he was banished from the country
In 1924, the 
year of Lenin's death, Stalin published the pamphlet: Socialism in One Country.