The Treaty of Versailles is what officially and properly ended World War I. Although it ended the war, it put very harsh conditions on Germany that angered many and lead to their economic depression.
The Treaty of Versailles was signed on June 28, 1919, between both Germany and the Allied powers, this put an end to World War I. American President Woodrow Wilson did not want to be harsh on Germany. He had created his Fourteen Points, which were known to be pretty peaceful. While he did believe that Germany should be punished for its crimes, he did not want to do it very harshly and really only wanted to target the leaders, not the innocent people.
At the end of the day, nobody really agreed with Wilson. Many leaders wanted Germany to pay for what they did, so the Treaty of Versailles was created. This treaty is known to be incredibly harsh on Germany, hurting the people, the economy, and even leading to World War II.
Under the Treaty of Versailles, Germany had to take the blame for everything. Germany thought this was very unfair, they thought they had just as much to do with World War I as anybody else did. Along with taking the blame, they had to give up a lot of their military, vehicles, equipment, land, and had to pay billions of dollars in reparations. This obviously lead to their economic depression and struck resentment in the German people, eventually being a cause of World War II.