The German colonial era came to an end after the end of World War I but South West Africa, and with it Windhoek, already fell in 1915. Until the end of the war the city was administered by a South African military government, and no further development occurred. In 1920, after the Treaty of Versailles, the territory was placed under a League of Nations Class C mandate and again administered by South Africa.