The outbreak of World War I caused a sudden realignment within the RSDLP and other European social democratic parties over the issues of war, revolution, pacifism and internationalism. Within the RSDLP, Lenin, Trotsky and Martov advocated various internationalist anti-war positions, while Plekhanov and other social democrats (both Bolsheviks and Mensheviks) supported the Russian government to some extent. In Switzerland, Trotsky briefly worked within the Swiss Socialist Party, prompting it to adopt an internationalist resolution. He wrote a book opposing the war, "The War and the International," and the pro-war position taken by the European social democratic parties, primarily the German party.