How did the treaty of versailles aim to maintain peace?

The Treaty of Versailles aimed to maintain peace by placing strict limitations on Germany. Specifically, the treaty placed limits on Germany's military capabilities and imposed heavy reparations payments. These limitations were intended to prevent Germany from becoming a dominant military power again and reduce the risk of future conflict. Additionally, the treaty established the League of Nations, an international organization aimed at resolving disputes diplomatically rather than militarily. The hope was that through these measures, lasting peace in Europe could be achieved. However, the harsh terms of the treaty, particularly the reparations payments, caused resentment in Germany and contributed to the rise of Adolf Hitler and the outbreak of World War II.