Following the 1917 Revolution, Krupskaya was at the forefront of the political scene, becoming a member of the Communist Party's Central Committee in 1924. From 1922 to 1925, she was aligned with Joseph Stalin, Grigory Zinoviev and Lev Kamenev against Trotsky's Left Opposition, though she later fell out with Stalin. She was deputy education commissar from 1929 to 1939, with strong influence over the Soviet educational system, including development of Soviet librarianship.