Original: During World War I Windhoek was captured by South African troops and became a South African Mandate under the League of Nations.
Simplified: During World War I, Windhoek was captured by South Africa.