Russia left the First World War immediately after the revolution of 1917 because the Russian revolutionaries, who were communists, viewed the war as a struggle between imperial powers. The communist revolutionaries were ideologically opposed to communism and did not want to participate in a war between imperial powers.