The war was ended by the signing of many different treaties, the most important being the Treaty of Versailles. It also led to the creation of the League of Nations, which was meant to prevent wars. People were shocked by the size of the war, how many people it killed and how much damage it caused. They hoped it would be the "war to end all wars". Instead, it led to another, larger world war 21 years later.