qnli question: When did European powers grant independence to their colonies in Africa? sentence: South Africa occupied the colony in 1915 after defeating the German force during World War I and administered it from 1919 onward as a League of Nations mandate territory.