Germany signed an armistice on November 11, 1918 ending World War I due to food shortages from a British naval blockade. The Treaty of Versailles imposed harsh terms on Germany, including war reparations, loss of territory, and military restrictions. These harsh conditions contributed to economic instability in Germany and set the stage for Adolf Hitler's rise to power, violating the treaty and remilitarizing Germany which ultimately led to World War II.