Original: The Treaty of Trianon was the peace agreement signed in 1920 , at the end of World War I , between the Allies of World War I and Hungary ( a successor state to Austria-Hungary ) .
Simplified: Text The treaty was written because Hungary had been an enemy of the Allies , and it had lost World War I , so it was punished .