Original: Dar es Salaam continued to serve as its capital , also when in 1964 Tanganyika and Zanzibar merged to form Tanzania .
Simplified: It remained the capital when in 1964 Tanganyika and Zanzibar merged to form Tanzania .