In 1880 the sultan of Zanzibar still claimed a coast more than a thousand kilometers long. Within twenty years European powers had divided it, and within a century the sultanate itself was gone. Yet the Swahili language, once the speech of a few coastal towns, became one of the most widely spoken languages in Africa.
The coast divided
In the 1880s German agents signed treaties with inland chiefs, and Germany declared a protectorate over much of the mainland. Britain and Germany then agreed between themselves how much of the sultan's coast he could keep. An Anglo-German agreement of 1886 limited the sultan's mainland territory to a coastal strip ten miles deep. Even that strip was soon leased away.
When the German East Africa Company took over the southern coast in 1888, its agents raised their flag over the towns and tried to collect customs. Coastal people rose against them. The Abushiri revolt of 1888 to 1889 was a rising of coastal people against German rule, named after its leader, Abushiri bin Salim, a planter of mixed Arab and African descent. German troops under Hermann von Wissmann crushed it, and Abushiri was hanged in December 1889.
In 1890 Britain and Germany settled their rivalry in a single treaty. Under the Heligoland Treaty of 1890, Germany accepted a British protectorate over Zanzibar, while Britain handed Germany the North Sea island of Heligoland. The sultan was not consulted.
A very short war
The sultans remained on their thrones under British control. When Sultan Hamad died suddenly in August 1896, his cousin Khalid seized the palace against British wishes. British warships opened fire on 27 August. The British bombardment of the palace in 1896 lasted about forty minutes, often called the shortest war in recorded history, and Khalid fled. Hundreds of his defenders were killed or wounded.
Independence and revolution
The Kenyan coastal strip remained, in law, the sultan's territory leased to Britain. Some coastal people campaigned for it to stay separate from Kenya, under a movement known as Mwambao, meaning "coast." At Kenya's independence in 1963 the sultan's coastal strip was transferred to Kenya, and the question of coastal autonomy has never fully gone away.
Zanzibar became independent in December 1963 as a constitutional monarchy, governed by parties drawing heavily on the Arab and Shirazi elite. The Afro-Shirazi Party, which drew strongly on African and mainland-origin voters, had won the most votes in the 1963 election but not a majority of seats. In January 1964 a revolution overthrew the sultan of Zanzibar, a month after independence. Armed bands, partly led by a Ugandan named John Okello, attacked Arab and South Asian residents. Thousands of people, mostly Arabs and South Asians, were killed in the revolution; estimates range from a few thousand to well over ten thousand and remain disputed.
The new government under Abeid Karume quickly joined the mainland. In April 1964 Zanzibar united with Tanganyika to form Tanzania. Zanzibar kept its own president and parliament within the union, an arrangement that is still debated.
A language for millions
Colonial rulers and missionaries adopted Swahili for schools and administration. In the late 1920s officials and scholars in the British territories agreed on a single standard form, and a joint language committee set up in 1930 carried the work forward. Standard Swahili was based on the dialect of Zanzibar town, Kiunguja. After independence Julius Nyerere's government made Swahili Tanzania's national language and used it to build a shared identity across more than a hundred ethnic groups. Kenya made it an official language alongside English in 2010. Estimates of total speakers vary widely, often from about 100 million to more than 200 million, most of whom learned it as a second language.
The old towns are now protected as heritage. Kilwa Kisiwani and Songo Mnara were named World Heritage sites in 1981, followed by Zanzibar's Stone Town in 2000, Lamu Old Town in 2001 and Fort Jesus in 2011.
Worked example: who counts as Swahili?
The revolution of 1964 shows how dangerous simple labels can be. For centuries coastal people had mixed African, Persian, Arab and Indian ancestry, and identity was layered: one person might be Swahili by language, Shirazi by family claim, Muslim by faith and Zanzibari by home. Colonial censuses forced people into racial boxes, "Arab," "African," "Indian," and colonial policy gave those boxes different rights and privileges. Politicians then mobilized voters by those categories.
When violence came, it followed the boxes. People were attacked for being "Arab," whatever their actual ancestry, language or politics. Many had families on the coast going back generations.
The lesson is not that Zanzibar's grievances were imaginary. Land, wealth and power really had been unequally shared, and slavery's legacy was recent. The lesson is that turning a mixed society's history into fixed racial categories made it easier to treat neighbors as enemies. Every person on that island had equal worth, whatever box a census put them in. The Swahili coast's long history of mixing is an argument for seeing people as individuals with complicated pasts, not as representatives of a race.
