Skip to main content
CountryReports

Expanded History

History of Tanzania

From antiquity to the modern era — the historical eras, key events, and narrative that shaped Tanzania.

Speed

Overview

Tanganyika/Tanzania
Northern Tanganyika’s famed Olduvai Gorge has provided rich evidence of the area’s prehistory, including fossil remains of some of humanity’s earliest ancestors. Discoveries suggest that East Africa may have been the site of human origin.

Little is known of the history of Tanganyika’s interior during the early centuries of the Christian era. The area is believed to have been inhabited originally by ethnic groups using a click-tongue language similar to that of Southern Africa’s Bushmen and Hottentots. Although remnants of these early tribes still exist, most were gradually displaced by Bantu farmers migrating from the west and south and by Nilotes and related northern peoples. Some of these groups had well-organized societies and controlled extensive areas by the time the Arab slavers, European explorers, and missionaries penetrated the interior in the first half of the 19th century.

The coastal area first felt the impact of foreign influence as early as the 8th century, when Arab traders arrived. By the 12th century, traders and immigrants came from as far away as Persia (now Iran) and India. They built a series of highly developed city and trading states along the coast, the principal one being Kibaha, a settlement of Persian origin that held ascendancy until the Portuguese destroyed it in the early 1500s.

The Portuguese navigator Vasco da Gama explored the East African coast in 1498 on his voyage to India. By 1506, the Portuguese claimed control over the entire coast. This control was nominal, however, because the Portuguese did not colonize the area or explore the interior. Assisted by Omani Arabs, the indigenous coastal dwellers succeeded in driving the Portuguese from the area north of the Ruvuma River by the early 18th century. Claiming the coastal strip, Omani Sultan Seyyid Said (l804-56) moved his capital to Zanzibar in 1841.

European exploration of the interior began in the mid-19th century. Two German missionaries reached Mt. Kilimanjaro in the 1840s. British explorers Richard Burton and John Speke crossed the interior to Lake Tanganyika in 1857. David Livingstone, the Scottish missionary-explorer who crusaded against the slave trade, established his last mission at Ujiji, where he was "found" by Henry Morton Stanley, an American journalist-explorer, who had been commissioned by the New York Herald to locate him.

German colonial interests were first advanced in 1884. Karl Peters, who formed the Society for German Colonization, concluded a series of treaties by which tribal chiefs in the interior accepted German "protection." Prince Otto von Bismarck’s government backed Peters in the subsequent establishment of the German East Africa Company.

In 1886 and 1890, Anglo-German agreements were negotiated that delineated the British and German spheres of influence in the interior of East Africa and along the coastal strip previously claimed by the Omani sultan of Zanzibar. In 1891, the German Government took over direct administration of the territory from the German East Africa Company and appointed a governor with headquarters at Dar es Salaam.

Although the German colonial administration brought cash crops, railroads, and roads to Tanganyika, European rule provoked African’s resistance, culminating in the Maji Maji rebellion of 1905-07. The rebellion, which temporarily united a number of southern tribes and ended only after an estimated 120,000 Africans had died from fighting or starvation, is considered by most Tanzanians to have been one of the first stirrings of nationalism.

German colonial domination of Tanganyika ended after World War I when control of most of the territory passed to the United Kingdom under a League of Nations mandate. After World War II, Tanganyika became a UN trust territory under British control. Subsequent years witnessed Tanganyika moving gradually toward self-government and independence.

In 1954, Julius K. Nyerere, a school teacher who was then one of only two Tanganyikans educated abroad at the university level, organized a political party--the Tanganyika African National Union (TANU). TANU-supported candidates were victorious in the Legislative Council elections of September 1958 and February 1959. In December 1959, the United Kingdom agreed to the establishment of internal self-government following general elections to be held in August 1960. Nyerere was named chief minister of the subsequent government.

In May l961, Tanganyika became autonomous, and Nyerere became Prime Minister under a new constitution. Full independence was achieved on December 9, 1961. Mr. Nyerere was elected President when Tanganyika became a republic within the Commonwealth a year after independence.

Zanzibar
An early Arab/Persian trading center, Zanzibar fell under Portuguese domination in the 16th and early 17th centuries but was retaken by Omani Arabs

Historical Eras

The major periods of {country}’s history at a glance.

  1. Early Peoples & Coast

    600 BCE – 1884

    Bantu-speaking migrants settled the interior from around 600 BCE, gradually displacing earlier click-language peoples. Arab traders arrived on the coast by the 8th century CE, establishing prosperous Swahili city-states; Persian and Indian merchants followed. The Portuguese briefly seized coastal control after Vasco da Gama's 1498 voyage, but Omani Arabs expelled them by 1699 and dominated the coast and Zanzibar's lucrative slave trade into the 19th century.

  2. German East Africa

    1884 – 1919

    Karl Peters and the German Colonisation Society secured treaties with interior chiefs beginning in 1884, and by 1891 the German government administered the territory directly from Dar es Salaam. Colonial rule brought cash crops, railways, and roads but provoked fierce resistance, most notably the Maji Maji Rebellion of 1905–07, in which an estimated 120,000 Africans perished. British, Belgian, and South African forces occupied German East Africa during World War I, ending German rule by 1916.

  3. British Mandate & Trust

    1919 – 1961

    The League of Nations awarded Tanganyika to Britain as a mandate in 1919, converted to a UN trusteeship after World War II in 1946. British administration developed infrastructure and introduced limited African participation in governance, but nationalist sentiment grew steadily. Julius Nyerere founded the Tanganyika African National Union (TANU) in 1954, transforming it into the dominant vehicle for independence, which was achieved peacefully on December 9, 1961.

  4. Independence & Union

    1961 – 1985

    Tanganyika gained independence in 1961 with Nyerere as prime minister, and Zanzibar followed in 1963 before a 1964 revolution merged the two into the United Republic of Tanzania. Nyerere pursued an African socialist policy, Ujamaa, collectivizing agriculture and nationalizing industry, with mixed economic results. Tanzania's regional role expanded dramatically when its forces expelled Idi Amin's invading Ugandan troops in 1978–79 and helped overthrow Amin's regime.

  5. Multiparty Modern Era

    1985 – present

    Nyerere stepped down in 1985, and his successor Ali Hassan Mwinyi began liberalizing the economy, formally ending single-party rule in 1992. Subsequent multiparty elections have maintained relative stability, though challenges including poverty, corruption, and the absorption of refugees from regional conflicts persist. Tanzania has emerged as a significant East African economy, bolstered by tourism centered on Kilimanjaro, the Serengeti, and Zanzibar's historic Stone Town.

Timeline Preview

The first 7 key events. View the full chronology on the timeline page.

  1. 600 BCE – 400 BCE

    Bantu-speaking peoples move into the area east of Lake Victoria.

    Bantu-speaking peoples move into the area east of Lake Victoria.

  2. 1498

    Portuguese explorer Vasco da Gama visits Tanzanian coast.

    Portuguese explorer Vasco da Gama visits Tanzanian coast.

  3. 1699

    Portuguese ousted from Zanzibar by Omani Arabs.

    Portuguese ousted from Zanzibar by Omani Arabs.

  4. 1867

    British campaign against Zanzibar slave trade starts.

    British campaign against Zanzibar slave trade starts.

  5. 1873

    The Sultan of Zanzibar is forced to close his slave market by the British.

    The Sultan of Zanzibar is forced to close his slave market by the British.

  6. 1884

    German Colonisation Society begins to acquire territory on the mainland.

    German Colonisation Society begins to acquire territory on the mainland.

  7. 1886

    Germany and Britain sign an agreement giving Germany control of a portion of East Africa.

    Germany and Britain sign an agreement giving Germany control of a portion of East Africa.