Namibia was governed as German South West Africa, a colony of the German Empire, until World War I, when it was invaded and occupied by Allied forces under General Louis Botha. Following the Armistice of 11 November 1918, a mandate system was imposed by the League of Nations to govern African and Asian territories held by Germany and the Ottoman Empire prior to the war. The mandate system was formed as a compromise between those who advocated an Allied annexation of former German and Turkish territories, and another proposition put forward by those who wished to grant them to an international trusteeship until they could govern themselves.