The archipelago was once the separate state of Zanzibar, which united with Tanganyika to form Tanzania (derived from the two names). Zanzibar is a semi-autonomous within the union, with its own government.