after ww1 the victorious allied powers (france, britain, france, the usa and italy) negotiated the terms of surrender/defeat for the central powers (germany, austria-hungary, the ottoman empire and bulgaria). afte mnths of negotiations, the treaty of versaillies was signed and it imposed a number of arsh punishments on germany.
Germany's punishments included, they had to take the blame for ww1, had to pay reparations to the allied powers that totalled at 132 billion gold marks (US$33 billion), they had to demilitarise leaving 100,000 men in their army, a limited number of warships and no airforce.