Before 1916, it was part of German East Africa. German East Africa included other territories as well. The territory was named after Lake Tanganyika, on its eastern border. In 1961, Tanzania became independent, with the islands of Zanzibar and Pemba, as well. 