Stalin was also the secretary of the Bureaucracy or whatever the Russian legislation body was called (Duma?). He actually controlled who was a member of the Duma from that position too.
http://www.youtube.com/watch?v=hWTFG3J1CP8