German East Africa was captured by the British during World War I and became Tanganyika , with Dar es Salaam the administrative and commercial centre .
German East Africa was captured by the British during World War I and its name was changed to Tanganyika . Dar es Salaam was still the territory 's administrative and commercial centre .