As winter approached the German high command were faced with two choices, annihilation or surrender. They chose the latter option and decided to bring matters to a swift conclusion in order to prevent an impending revolution. On 7th November, the acting commander in chief of the German forces, Paul von Hindenburg, sent a telegram to the supreme commander of the Allied armies, General Ferdinand Foch, requesting a meeting.
Allied troops escorted the German delegation in the five staff cars across the border before joining a train to travel to their secret destination: Foch’s railway carriage in Compiègne Forest, northern France. The representatives of the Allies were in no mood to negotiate. The three days of discussion centred on their terms of surrender, to which the Germans only managed to achieve a few minor modifications and to officially register their protest at the harshness of the terms.
Following the abdication of their Kaiser the day before and the failure of a last-ditch effort to stall the process, at 5am on the 11th November 1918, the German representatives signed the Armistice document. The ceasefire came into effect at 11am that day, now known as “the eleventh of the eleventh of the eleventh.” The belligerents settled the final peace accords the following year at the conference in Paris that resulted in the Treaty of Versailles.
The text of the Armistice document is available on Wikisource.