World War I ended when the ability of the German army to fight became so diminished that Germany asked for peace conditions. The German military, exhausted by the efforts of the March offensives and dispirited by their failure, was first seriously defeated during the Battle of Amiens (8–11 August 1918) and the German homefront entered general revolt over a lack of food and destruction of the economy. Victory for the Entente was almost assured by that point, and the fact of Germany's military impotence was driven home in the following hundred days. In this time, the Entente reversed the gains the Germans had made in the first part of the year, and the British Army (spearheaded by the Canadians and Australians) finally broke the Hindenburg defensive system.