History
The East African coast has been part of the Indian Ocean trading world for nearly two thousand years, and from around the eighth century Arab and Persian contact with Bantu-speaking communities produced Swahili civilisation — the city-states of Kilwa, Zanzibar, and others, Muslim, mercantile, and stone-built. Zanzibar became the seat of the Sultanate of Oman in the nineteenth century and the hub of a vast trade in enslaved people and ivory reaching deep into the interior.
Germany colonised the mainland as German East Africa from the 1880s, crushing the Maji Maji rebellion of 1905–07 with a scorched-earth campaign and famine that killed vast numbers. After the First World War, Britain took over the mainland (as Tanganyika) under a League of Nations mandate, while Zanzibar remained a British protectorate under its sultan.
Tanganyika became independent in 1961 under Julius Nyerere, and Zanzibar in 1963; a 1964 revolution overthrew Zanzibar's sultan, and that year the two united as Tanzania. Nyerere pursued Ujamaa, a policy of African socialism and village collectivisation that fostered national unity and literacy but left the economy weak. One-party rule lasted until multiparty elections resumed in 1995, with the ruling CCM winning every one since. President John Magufuli died in office in 2021 and was succeeded by Samia Suluhu Hassan, the country's first woman president. She was declared winner of the election of 29 October 2025 with 97.66 per cent of the vote, after the two largest opposition parties had been barred from standing; protests on and after election day were met with force, with hundreds of deaths reported, a curfew in Dar es Salaam and a near-total internet shutdown, and she was sworn in on 3 November 2025. Zanzibar retains its own president and parliament and a semi-autonomous status that remains politically sensitive.
- Tanzania: The Union of the Mainland and the Isles — A country made in 1964 by joining mainland Tanganyika to the spice islands of Zanzibar — the site of humanity's oldest footprints, a German then British colony, and the home of an African socialism that kept the peace but not the prosperity
