Original sentence: The Stalinist faction within the Bolshevik Party invented the theory "socialism in one country" in 1924 in order to justify making deals with imperialist countries and in order to advance their own position and conception of Marxism by attacking the theories of the current group of leaders, above all Trotsky
Edited sentence: The Stalinist faction within the Bolshevik Party invented the theory "socialism in one country" in 1924 in order to justify making deals with imperialist countries and in order to attack the foundations of the Russian Revolution and its leaders, above all Trotsky