The ILO was created as part of the Treaty of Versailles, which ended World War I.