and that France would remain neutral if Japan attacked Russia. The American president Theodore Roosevelt (in office 1901–1909), who was attempting to mediate the Russian–Japanese dispute, complained that Wilhelm's "Yellow Peril" propaganda, which strongly implied that Germany might go to war against Japan in support of Russia, encouraged Russian intransigence. On 24 July 1905, in a letter to the British diplomat Cecil Spring Rice, Roosevelt wrote that Wilhelm bore partial responsibility for the war as "he has done all he could to bring it about", charging that Wilhelm's constant warnings about the "Yellow Peril" had made the Russians uninterested in compromise as Nicholas believed that Germany would intervene if Japan attacked.