What was the main treaty that marked the end of World War I?

The main treaty that marked the end of World War I was the Treaty of Versailles.