The mainland of Tanzania came under German control, known as German East Africa.
After World War I, Tanganyika was governed by the British as a mandate territory.
Tanganyika gained independence from British rule.
Zanzibar gained independence from British rule.
Tanganyika and Zanzibar merged to form the United Republic of Tanzania.
Tanzania became a member of the British Commonwealth as a unified republic.