WWI ended in November, 1918 with the capitulation of Germany; however, the results of this war were officially secured only in 1919, with the signing of the Treaty of Versailles on June 28. According to the treaty, Germany was obliged to pay reparations to the countries that suffered from its actions during the war. Germany was restricted to have an army larger than 100,000 soldiers; German territories near Rhine were occupied for 15 years to assure Germany's compliance. There were also secret agreements about the distribution of territories conquered by Germany among the winners of the war. Many historians believe that the harsh conditions of the Treaty of Versailles leaded to WWII.