Germany was defeated in World War I, and the Treaty of Versailles placed punitive conditions on the country, including significant financial reparations, the loss of territory (some only temporarily), war guilt, military weakening and limitation, and economic weakening.
After Hitler took Germany out of the League of Nations, Mussolini of Fascist Italy and Hitler formed the Rome-Berlin axis, under a treaty known as the Pact of Steel.