The Treaty of Versailles, signed on June 28, 1919, officially ended World War I. It imposed severe terms on Germany, including territorial losses, reparations, and demilitarization.