Who colonized Tanzania?

The Germans originally colonised the area of Tanganyika in the 19th century. At that time Zanzibar was under Arab control. After the end of WW1, Tanganyika passed to British control until  it became officially independent in 1961. Shortly after this they merged with Zanzibar and officially became Tanzania.