During World War I, while the PPS under Józef Piłsudski supported the Central Powers against Russia (through the Polish Legions), the ND first allied itself with the Russian Empire (supporting the creation of the Puławy Legion) and later with the Western Powers (supporting the Polish Blue Army in France). At war's end, many ND politicians enjoyed more influence abroad than in Poland. This allowed them to use their leverage to share power with Piłsudski, who had much more support in the military and in the country proper than they did. And because of their support abroad ND politicians such as Dmowski and Ignacy Paderewski were able to gain backing for their demands at the Paris Peace Conference of 1919 and in the Treaty of Versailles.