Tanganyika is the mainland part of Tanzania . Although Tanganyika still exists within Tanzania , the name is no longer used formally for the territory . These days the name Tanganyika is used almost exclusively to refer to the lake .