# Egyptian rule over Harar and the Somali coast, 1874–1884

> Egypt's decade on the Somali coast and in Harar, 1874–1884: the Ottoman handover, the taking of Harar, the 1877 agreement with Britain, Egyptian Berbera, and the withdrawal that opened the way to the British and French protectorates, from treaty collections and travellers.

Source page: https://calankii.com/en/history/egyptian-rule-harar-and-somali-coast-1874-1884/
Last checked: 2026-11-15
Publisher: Calankii (https://calankii.com)

## In short

In 1848 Zeila and [Tajura](/en/regions/tadjoura/) "came under the Government of the Turks", who "continued to hold both places till 1875, when the Porte, on certain conditions, made over its possessions on the Somali coast to the Khedive, Ismail Pasha, who had in the previous year established himself at Harrar in the interior," the British government of India recorded. "In 1884, owing to internal difficulties, the Egyptian Government found it necessary to withdraw their garrisons from this region" ([Aitchison, *A Collection of Treaties*, vol. XIII, 1909, pp. 190–191](https://archive.org/details/india.history.resource.93192)).

See [British Somaliland](/en/history/british-somaliland-1884-1960/), [the attack on Burton's camp, Berbera, 1855](/en/history/attack-on-burtons-camp-berbera-1855/) and [Harar, capital of Adal](/en/history/harar-capital-of-adal-1520-1577/).

## The coast

- **The claim.** In 1870, according to the British treaty collection compiled by Edward Hertslet, "an Egyptian Governor was appointed over the Coast from Suez to Cape Guardafui" ([Hertslet, *The Map of Africa by Treaty*, vol. 1, 1909, p. 260](https://archive.org/details/mapofafricabytr01hert)).
- **The garrisons.** Khedive Ismail, "who had already purchased Massawa from the Porte and established garrisons at [Bulhar](/en/history/bulhar/) and Berbera, claimed jurisdiction, under the suzerainty of the Sublime Porte, over the Somali Coast as far as Ras [Hafun](/en/history/ancient-port-of-opone-ras-hafun/)" ([Jardine, *The Mad Mullah of Somaliland*, 1923, pp. 34–35](https://archive.org/details/TheMadMullahOfSomaliland)).
- **Zeila.** When the Egyptians took Zeila, the English traveller F. L. James wrote, "they found themselves obliged to keep him as governor on account of his popularity with the people". He meant Abu Bakr, an Afar leader "over whom his family had ruled for a very long time" ([James, *The Unknown Horn of Africa*, 1890 edition, notes, p. 331](https://archive.org/details/unknownhornofafr00jame)).

## The 1877 agreement

On 7 September 1877 Britain and Egypt signed an agreement "for the conditional recognition by Her Majesty's Government of His Highness's jurisdiction, under the Suzerainty of the Sublime Porte, over the Somali Coast as far as Ras Hafoun" ([Hertslet, vol. 1, pp. 260–261](https://archive.org/details/mapofafricabytr01hert)):

- **Free ports.** "Bulhar and Berbera shall be declared free ports" (Art. I).
- **No cession.** The Khedive engaged "that no portion of the territory ... shall ever be ceded to any foreign Power" (Art. II).
- **Consuls and slavery.** Britain could appoint consular agents, and Egypt was to suppress the slave trade (Arts. III–IV).
- **The condition.** The agreement would come into force only when the Ottoman Sultan gave a formal assurance that no part of the Somali coast would be ceded to a foreign power (Art. V). Hertslet's second volume notes that "these conditions have never been fulfilled" ([vol. 2, 1896](https://archive.org/details/mapofafricabytre02hertuoft)).

## Harar

- **The taking of the city.** James recorded what the French Catholic bishop at Harar, who had lived there for twelve years, told him in 1883: "The Egyptians took it by stratagem. Raouf Pasha went there with about 500 soldiers, and told the Ameer he was going on into Abyssinia." When the Emir refused a summons, "the Egyptian Pasha sent soldiers after the Ameer; there was a struggle, in which they managed to strangle him, and so the Egyptians quietly took possession of the place" (James, notes, p. 333).
- **The city.** The bishop described Harar as "a town of 30,000 to 35,000 inhabitants, enclosed in a wall with five gates" (p. 333).
- **The countryside.** He said the Oromo people around Harar "hate the Egyptians", and that Egyptian rule meant "the destruction of all they held most dear ; they made Mussulmans of them, destroyed their independence" (p. 333).

## Egyptian Berbera

- **The new town.** James found Berbera in March 1884 in two parts: "a modern Egyptian town, with stone buildings, erected during the past twelve years", and the Somali village of mat huts that moved inland in the hot season. The town had "a good-sized hospital, a prison, a post-office, several stores" ([James, ch. IV, pp. 21–23](https://archive.org/details/unknownhornofafr00jame)).
- **A tomb.** The governor's residence was joined to "an imposing tomb in the form of a mosque, built in memory of a great Somali Sheik". To pay for it, "each camel entering the town was taxed" (pp. 21–22).
- **The works.** "The Egyptian Government effected considerable improvements in the coast towns, constructing piers, lighthouses, and block-houses; and to them we owe the plentiful water supply at Berbera" (Jardine, p. 35).

## The withdrawal, 1884

- **Why.** "In 1884, however, difficulties in the [Sudan](/en/diaspora/sudan/) constrained the Egyptian Government to evacuate their Somali colony; and in October of that year a British officer, with a small force of police and sepoys, was charged with the administration of Berbera" (Jardine, p. 35).
- **The treaties.** As the garrisons left, British agents signed treaties with Somali clans. The Habar [Awal](/en/society/habar-awal/) treaty of 14 July 1884 opens: "Whereas the garrisons of His Highness the Khedive are about to be withdrawn from Berbera and Bulhar and the Somali Coast generally". It was to take effect "from the date on which the Egyptian troops shall embark at Berbera" (Aitchison, vol. XIII, pp. 204–205). Treaties with the Gadabuursi (11 December 1884) and the Habar Toljaala (26 December 1884) followed (p. 191).
- **Zeila and Tajura.** "Zaila came into British occupation, while the French shortly afterwards obtained possession of Tajoura" (p. 191).

## Who suffered?

- **The Emir of Harar,** killed when the Egyptians took the city (James, notes, p. 333).
- **The Oromo of the Harar countryside,** whose land was taken and who were pressed to convert, according to the bishop's account (p. 333).
- **Camel herders coming to Berbera,** taxed at the town gate to pay for the governor's building works (James, pp. 21–22).

## Sources differ

- **When Harar fell.** Aitchison places the Khedive at Harar in 1874, the year before the Ottoman handover of 1875 (pp. 190–191). Wikipedia dates the invasion of Harar to 1875 and Egyptian rule there to 1874–1885 ([Wikipedia, "Egyptian invasion of Harar"](https://en.wikipedia.org/wiki/Egyptian_invasion_of_Harar)).
- **How far south.** Egypt claimed the coast to Cape Guardafui and beyond, to Ras Hafun. The 1877 agreement never came into force, so British recognition stayed conditional (Hertslet, vols. 1 and 2).
- **Egyptian rule.** Jardine credits Egypt with the piers, lighthouses and Berbera's water. James, who arrived as Britain was taking over, called the handover "the grave of Egyptian misrule" (James, p. 9).

## Read the primary sources yourself

- C. U. Aitchison (comp.), *A Collection of Treaties, Engagements and Sanads relating to India and Neighbouring Countries*, vol. XIII (Calcutta, 1909), "[Somaliland](/en/states/somaliland-1991-to-2026/)", pp. 190–191, and treaty No. LXXXIX, pp. 204–205: [Internet Archive](https://archive.org/details/india.history.resource.93192).
- Sir Edward Hertslet, *The Map of Africa by Treaty*, vol. 1 (3rd ed., [London](/en/diaspora/london/), 1909), "Egypt", No. 67, pp. 260–261: [Internet Archive](https://archive.org/details/mapofafricabytr01hert); vol. 2 (London, 1896), "Somali Coast": [Internet Archive](https://archive.org/details/mapofafricabytre02hertuoft).
- F. L. James, *The Unknown Horn of Africa: An Exploration from Berbera to the Leopard River* (London, 1888; the copy linked is the 1890 edition), ch. I, ch. IV and notes, pp. 331–333: [Internet Archive](https://archive.org/details/unknownhornofafr00jame).
- Douglas Jardine, *The [Mad Mullah of Somaliland](/en/books/the-mad-mullah-of-somaliland-jardine/)* (London, 1923), prologue, pp. 34–35: [Internet Archive](https://archive.org/details/TheMadMullahOfSomaliland).

---
I want to help with this: email hello@calankii.com. Fix this page: email hello@calankii.com with the page link and your source.
