By 20 July 1918, the last great German offensive on the Western Front had failed and having suffered 688,000 casualties including 270,000 dead the morale of their desperately tired and half-starved troops was close to collapse.
On 8 August, the Allies launched a massive offensive of their own and before long a 12 mile gap had appeared in the German lines, 18,000 prisoners taken, and 330 guns captured. It was, said General Ludendorff: "The Black Day of the German Army."
Their resolve would stiffen but their capacity for offensive action had been destroyed. It marked the beginning of the end.
On 26 September, the Allies attacked once again and broke through the supposedly impregnable Hindenburg Line and despite often stiff resistance it was becoming increasingly apparent to the German High Command that the Army was beginning to disintegrate and was close to collapse.
On the Home Front the situation was even worse.
The Allied blockade of German ports had led to mass-starvation throughout the country and strikes had paralysed most of her major cities. Ludendorff knew the war was lost and that he could no longer prevent the invasion of his homeland and he feared not just the rout of the German Army but a Bolshevik Revolution in Berlin. He declared that there must be an immediate armistice but he also wanted the Civil Administration to take responsibility for it.
The German Government first approached the Allies as early as the first week in October seeking an armistice based upon the American President Woodrow Wilson's Fourteen Points of the previous year. The Allied High Command refused to negotiate insisting that their terms for an armistice must be accepted unconditionally.
So the war continued, but the more time passed the more untenable the German situation became with even her Allies now deserting her. Bulgaria had already changed sides in September, on 30 October the Ottoman Empire surrendered, and four days later on 3 November the rapidly disintegrating Austro-Hungarian Empire agreed to lay down its arms and sign a separate peace.
On the night of 29 October, the sailors of the Kriegsmarine stationed at Kiel and Wilhelmshaven refused to take their ships out to sea in an attempt to break the blockade on what they knew was a suicide mission. Discipline had effectively broken down and the fleet was in a state of mutiny - The Revolution had begun.
In Berlin, the Kaiser refused to face reality and fantasised that he would be able to triumphantly lead his troops into his capital city to reclaim its streets from Bolshevik revolutionaries. Already effectively sidelined he stubbornly refused to abdicate and so on 9 November the Government simply announced he had and he was forced to flee in haste to the Netherlands.
On the Western Front meanwhile the German Army remained intact if stretched almost beyond endurance with food scarce, ammunition short, and morale low but the army had not yet broken though they were surrendering in ever greater numbers and desertion was commonplace.
Free now of the Kaisers interference and with the Army effectively abdicating responsibility the new Government again approached the Allies seeking a ceasefire. They agreed to meet on 8 October in a train carriage in the Forest of Compiegne some 40 miles north-east of Paris. But it would be a meeting on the Allies terms.
The German delegation to the talks was headed by Matthias Erzberger, a centre-right politician who though a patriot had long opposed the war. Likewise the rest of the delegation were also civilians, it seemed that the German Army desperate for a truce before it crumbled was not willing to endure the humiliation that would come with it.
To have such a well-known anti-war activist head a delegation with no military representation was a mistake by the Allies who should have demanded that the German Army be seen to endorse the peace terms for their absence from the signing the surrender document allowed the lie to be peddled that the Army had never been defeated but instead had been stabbed in the back by duplicitous politicians at home.
Similarly, it was a mistake for the Allies not to invade and occupy German soil. Both were to have serious repercussions.
There was not much for the delegation to negotiate, however.
Although Armistice negotiations were underway the Allied Supreme Commander Ferdinand Foch ordered that the advance continue. He firmly believed that the Germans must be made to accept they had been beaten in the field and would remain resolute in his determination to make the Germans accept defeat.
Erzberger had been ordered to seek an honourable peace but he was soon to discover that there was no room for negotiation. Foch demanded that they accept the terms for the Armistice offered if not he was content to continue the war, all the way to Berlin if necessary. Despite being served the best French cognac the atmosphere was frosty.
The terms of the Armistice called for the German Army’s disarmament, the German Navy’s internment, the occupation of the Rhineland, and her agreement to accept culpability for the war and all of the carnage wrought. The blockade of Germany that had seen millions of its people reduced to starvation would also continue until a formal peace agreement was reached - it was, take it or leave it.
Erzberger was both stunned and dismayed and after just 45 minutes the meeting broke up.
This was not an armistice it was unconditional surrender and Ludendorff now called for hostilities to be resumed, but this was impossible. The Germans had been given 72 hours to sign the Armistice Agreement, or by 11 am on 11 November. If they did not sign the Allies would resume hostilities with all the force at their disposal.
At 5.10 am on 11 November a sullen and morose Erzberger signed the Armistice Agreement. It was to come into effect at 11.00 the same day.
As news of the Armistice began to filter through the need for both sides to dispose of their remaining artillery shells became a matter of urgency. It was also a last opportunity to batter the enemy one last time and a furious bombardment ensued as a result in the hours leading up to the armistice coming into effect there was little reduction in the rate of death.
For some reason the Americans now launched a series of assaults on towns that in just a few hours time would be given up without a fight. Such reckless action was to result in 3,500 unnecessary American casualties and a Congressional Inquiry.
The last British soldier to be killed of the 564,517 who died on the Western Front was Private George Edwin Ellison, aged 40. He had previously been a professional soldier but had left the army in 1912 to marry and raise a family. He had been working as a coal miner in Yorkshire when he was recalled to the colours in 1914.
He was shot dead at 09.30 as he scouted positions just outside Mons.
The last French soldier to be killed of the 1.3 million who died on the Western Front was Private Augustin Trebuchon, aged 40 .He had been working as a shepherd when he volunteered to serve in the French Army on 4 August 1914.
He was shot dead at 10.45 as he was on his way to inform his fellow soldiers that soup would be served as soon as the Armistice came into effect. He had enlisted on the first day of the war and had died on its last.
The last Canadian soldier to be killed of the 56,639 who died on the Western Front was Private George Lawrence Price, aged 25. He had been conscripted into the army in October 1917, but was nevertheless an enthusiastic soldier.
On the last day of the war his Unit pursued some Germans into a house near the town of Mons but they managed to escape. Despite being advised to remain inside the house until the Armistice came into effect he chose to do otherwise.
As he exited the house at 10.58 am he was shot dead by a sniper.
The last American soldier to be killed of the 53,402 who died on the Western Front was, Private Henry Gunther, aged 23. He was drafted into the army in September 1917, where his previous employment as a bookkeeper saw him promoted to Sergeant and assigned to Army Stores but a letter home seen by the Censor in which he criticised the appalling conditions in France saw him soon after demoted back to Private.
He was shot dead at 10.59 am when he inexplicably charged some nearby Germans, though it has been suggested that he was taking this last opportunity to restore his reputation and recover his old rank.
The Germans had shouted to him, waved their arms and tried to usher him away but when he opened fire they had little choice but to respond in kind. The luckless American with the German name whose grandparents had come from the old country died less than 30 seconds before the Armistice was due to come into effect. It made him the last official casualty of the Great War.
The last German soldier of the 1.7 million who died on the Western Front was Lieutenant Alfred Tomas who was shot dead at 11.01 when he approached some American soldiers to inform them that his men were preparing to vacate their positions. The Americans had not been told of the ceasefire.
In total there were 10,944 casualties on the final day of the war of whom, 2,738 were killed.
But the total number of those who died on the final day of World War One numbered almost 68,000 most of who succumbed to wounds received in the days, weeks, and months preceding the ceasefire.
At 11.00 am precisely the guns ceased firing and an eerie silence descended upon the Western Front and any celebrations were more muted than might have been expected.
Soldiers were milling around not really knowing what to do while others simply went into a deep sleep.
The din of war, smell of cordite, stench of rotting corpses and constant fear of death that had been so much a part of their daily lives was to be no more. Now there was nothing, just silence but this sense of numbness was not echoed on the Home Front.
In Paris gas lamps were lit for the first time in four years as thousands gathered in the centre of the city and chanted for the Prime Minister Georges Clemenceau.
In London, the British Prime Minister, David Lloyd George was angry. He had wanted the ceasefire to begin at 2 pm when he was due to address the House of Commons but by the time he rose to do so the news was already out and the moment for theatre had passed.
Big Ben had tolled for the first time since the start of the war as crowds flocked to Trafalgar Square amid scenes of wild jubilation and lewd behaviour unknown in previously tight-laced Edwardian Britain.
Similar scenes were witnessed in Paris, in Times Square New York, and throughout the towns and cities of all the victorious Allied powers. But the mood was to become more sombre in the coming days as the true toll of four years of unparalleled bloodshed began to sink in.
In Germany there was a sense of stunned disbelief.
Despite the overwhelming desire for peace many people could not understand the total capitulation. The army had not been defeated and they were everywhere still fighting on foreign soil. Why had they surrendered?
Troops returned to parades and cheers as if they carried the laurels of victory but the mood did not last and the fanfares soon faded. Nor was there any relief from the Allied naval blockade which was to continue for many months more until the official peace treaty was signed.
In time the returning troops were to be blamed for what had happened and shunned, sometimes even abused in the streets.
A little known Corporal Adolf Hitler, who was recovering in a Field Hospital from temporary blindness caused by a Mustard Gas attack wept when he heard the news of the armistice. But his feelings did not reflect the general mood which regardless of the shame and humiliation of defeat the sense of relief at the end of war was palpable.
Few could have imagined in the exultation of victory, or even in the despair of defeat that just 21 years later "The War to End all Wars" had merely paved the way for a far greater and even more catastrophic conflagration to come.