Stalin rose to power through his cunning personality, position as Secretary-General, and exploitation of his rivals' weaknesses. As Secretary-General, he appointed supporters to key roles and called votes against rivals. Through deception and alliances, Stalin outmaneuvered rivals like Trotsky by preventing Lenin's testament and making Trotsky appear disloyal to gain more party support than any other candidate after Lenin's death.