I answered this one (more or less) a few months ago here: https://www.reddit.com/r/AskHistorians/comments/ucoy4h/how_did_stalin_rise_to_power/i6ch61s/?utm_source=share&utm_medium=ios_app&utm_name=iossmf&context=3