The Treaty of Versailles, signed in 1919, imposed harsh reparations and territorial losses on Germany.