Stalin manipulated factors and exploited divisions within the Communist Party to consolidate his power following Lenin's death in 1924. He pretended to be close to Lenin, used his position as General Secretary to appoint loyalists, and isolated opponents like Trotsky by portraying them as disloyal. By 1927, Stalin had established himself as the Supreme Leader of the Soviet Union by removing potential rivals through alliances, propaganda, and purges.