By the end of September 1918, the German leadership no longer believed it could win the war. Recognizing that Wilson would be more likely to accept a peace deal from a democratic government, Kaiser Wilhelm II appointed a new government led by Prince Maximilian of Baden; Baden immediately sought an armistice with Wilson. In the exchange of notes, German and American leaders agreed to incorporate the Fourteen Points in the armistice; House then procured agreement from France and Britain, but only after threatening to conclude a unilateral armistice without them. Wilson ignored Pershing's plea to drop the armistice and instead demand an unconditional surrender by Germany. The Germans signed the Armistice of 11 November 1918, bringing an end to the fighting. Austria-Hungary had signed the Armistice of Villa Giusti eight days earlier, while the Ottoman Empire had signed the Armistice of Mudros in October.