1896 war in Africa
The Anglo-Zanzibar War was a military conflict fought between the United Kingdom and the Sultanate of Zanzibar on 27 August 1896. The conflict lasted between 38 and 45 minutes, marking it as the shortest recorded war in history. The immediate cause of the war was the suspicious death of the pro-British Sultan Hamad bin Thuwaini on 25 August 1896 and the subsequent succession of Sultan Khalid bin Barghash. The British authorities preferred Hamoud bin Mohammed, who was more favourable to British interests, as sultan. The agreement of 14 June 1890, instituting a British protectorate over Zanzibar, specified that a candidate for accession to the sultanate should obtain the permission of the British consul; Khalid had not fulfilled this requirement. The British considered this a "casus belli" and sent an ultimatum to Khalid demanding that he order his forces to stand down and leave the palace. In response, Khalid called up his palace guard and barricaded himself inside the palace.
The ultimatum expired at 09:00 local time on 27 August, by which time the British had gathered two cruisers, three gunboats, 150 marines and sailors, and 900 Zanzibaris in the harbour area. The Royal Navy contingent were under the command of Rear-Admiral Harry Rawson and the pro-Anglo Zanzibaris were commanded by Brigadier-General Lloyd Mathews of the Zanzibar army (who was also the First Minister of Zanzibar). Around 2,800 Zanzibaris defended the palace; most were recruited from the civilian population, but they also included the sultan's palace guards and several hundred of his servants and slaves. The defenders had several artillery pieces and machine guns, which were set in front of the palace sighted at the British ships. A bombardment, opened at 09:02, set the palace on fire and disabled the defending artillery. A small naval action took place, with the British sinking the Zanzibari royal yacht and two smaller vessels. Some shots were also fired ineffectually at the pro-British Zanzibari troops as they approached the palace. The flag at the palace was shot down and fire ceased at 09:46.
The sultan's forces sustained roughly 500 casualties, while only one British sailor was injured. Sultan Khalid received asylum in the German consulate before escaping to German East Africa (in the mainland part of present Tanzania). The British quickly placed Sultan Hamoud in power at the head of a puppet government. The war marked the end of the Sultanate of Zanzibar as a sovereign state and the start of a period of heavy British influence.
Background.
Zanzibar was an island country in the Indian Ocean, off the coast of Tanganyika; today it forms part of Tanzania. The main island, Unguja (or Zanzibar Island), had been under the nominal control of the Sultans of Oman since 1698 when they expelled the Portuguese settlers who had claimed it in 1499. Sultan Majid bin Said declared the island independent from Oman in 1858, which was recognised by the United Kingdom, and split the sultanate from that of Oman. Barghash bin Said, the second sultan and Khalid's father, had been forced by British ultimatum and a threat of blockade to abolish the Zanzibar slave trade in June 1873, though it was later discovered that instructions from London would have prohibited aggressive action being taken immediately if that ultimatum had been rejected.
The subsequent sultans established their capital and seat of government at Zanzibar Town where a palace complex was built on the sea front. By 1896, this consisted of the palace itself; the Beit al-Hukm, an attached harem; and the Beit al-Ajaib or "House of Wonders"—a ceremonial palace said to be the first building in East Africa to be provided with electricity. The complex was mostly constructed of local timber and was not designed as a defensive structure. All three main buildings were adjacent to one another in a line and linked by wooden covered bridges above street height.
Britain had recognised Zanzibar's sovereignty and its sultanate in 1886, after a long period of friendly interaction, and generally maintained good relations with the country and its sultans. However, Germany was also interested in East Africa, and the two powers vied for control of trade rights and territory in the area throughout the late 19th century. Sultan Khalifah had granted rights to the land of Kenya to Britain and that of Tanganyika to Germany, a process resulting in the prohibition of slavery in those lands. Many of the Arab ruling classes were upset by this interruption of a valuable trade, which resulted in some unrest. In addition, the German authorities in Tanganyika refused to fly the flag of the Sultanate of Zanzibar, which led to armed clashes between German troops and the local population. One such conflict in Tanga claimed the lives of 20 Arabs.
Sultan Khalifah sent Zanzibari troops led by Brigadier-General Lloyd Mathews, a former lieutenant of the Royal Navy, to restore order in Tanganyika. The operation was largely successful, but anti-German feeling among the Zanzibari people remained strong. Further conflicts erupted at Bagamoyo, where 150 natives were killed by German military forces, and at Ketwa, where German officials and their servants were murdered. Khalifah then granted extensive trade rights to the Imperial British East Africa Company (IBEAC) who, with German assistance, established a naval blockade to halt the continuing domestic slave trade. Upon Khalifah's death in 1890 Ali bin Said ascended to the sultanate. Sultan Ali banned the domestic slave trade (but not slave ownership), declared Zanzibar a British protectorate and appointed Lloyd Mathews as First Minister to lead his cabinet. The British were also guaranteed a veto over the future appointment of sultans.
The year of Ali's ascension also saw the signing of the Heligoland–Zanzibar Treaty between Britain and Germany. This treaty officially demarcated the spheres of interest in East Africa and ceded Germany's rights in Zanzibar to the United Kingdom. This granted the British government more influence in Zanzibar, which they intended to use to eradicate slavery there, an objective they had held as early as 1804.
Sultan Ali's successor was Hamad bin Thuwaini, who became sultan in 1893. Hamad maintained a close relationship with the British, but there was dissent among his subjects over the increasing British control over the country, the British-led army and the abolition of the valuable slave trade. In order to control this dissent, the British authorities authorised the sultan to raise a Zanzibari palace bodyguard of 1,000 men, but these troops were soon involved in clashes with the British-led police. Complaints about the bodyguards' activities were also received from the European residents in Zanzibar Town.
25 August 1896.
Sultan Hamad died suddenly at 11:40 EAT (08:40 UTC) on 25 August 1896. His 29-year-old nephew Khalid bin Bargash, who was suspected by some of his assassination, moved into the palace complex at Zanzibar Town without British approval, in contravention of the treaty agreed with Ali. The British government preferred an alternative candidate, Hamoud bin Muhammed, who was more favourably disposed towards them. Khalid was warned by the consul and diplomatic agent to Zanzibar, Basil Cave, and General Mathews to think carefully about his actions. This course of action had proved successful three years earlier when Khalid had tried to claim the sultanate after the death of Ali, and the British consul-general, Rennell Rodd, had persuaded him of the dangers of such an action.
Khalid ignored Cave's warning, and his forces began mustering in the Palace Square under the command of Captain Saleh of the palace bodyguard. By the end of the day, they numbered 2,800 men armed with rifles and muskets. The majority were civilians, but the force included 700 Zanzibari Askari soldiers who had sided with Khalid. The sultan's artillery, which consisted of several Maxim machine guns, a Gatling gun, a 17th-century bronze cannon, and two 12-pounder field guns, was aimed at the British ships in the harbour. The 12-pounders had been presented to the sultan by Wilhelm II, the German emperor. The sultan's troops also took possession of the Zanzibari Navy, which consisted of one wooden sloop, the HHS "Glasgow", based on the British frigate "Glasgow" and built as a royal yacht for the sultan in 1878.
Mathews and Cave also began to muster their forces, already commanding 900 Zanzibari askaris under Lieutenant Arthur Edward Harington Raikes of the Wiltshire Regiment who was seconded to the Zanzibar Army and held the rank of brigadier-general. 150 sailors and marines were landed from the protected cruiser and the gunboat , which were anchored in the harbour. The naval contingent, under the command of Captain O'Callaghan, came ashore within fifteen minutes of being requested to deal with any rioting caused by the general population. A smaller contingent of sailors under Lieutenant Watson of "Thrush" were put ashore to guard the British consulate, where British citizens were requested to gather for protection. , another gunboat, entered the harbour and was anchored opposite the palace next to "Thrush".
Some concerns were raised among the British diplomats as to the reliability of Raikes' askaris, but they proved to be steady and professional troops hardened by military drill and several expeditions to East Africa. They later became the only land troops to be fired upon by the defenders. Raikes' troops were armed with two Maxim guns and a nine pounder cannon, and were stationed at the nearby customs house. The sultan attempted to have the US consul, Richard Dorsey Mohun, recognise his accession, but the messenger was told:
 ;templatestyles src="Template:Blockquote/styles.css" / ;...as his accession had not been verified by Her Majesty's government, it is impossible to reply.
Cave continued to send messages to Khalid requesting that he stand down his troops, leave the palace and return home, but these were ignored, and Khalid replied that he would proclaim himself sultan at 15:00. Cave stated that this would constitute an act of rebellion and that Khalid's sultanate would not be recognised by the British government. At 14:30, Sultan Hamad was buried, and exactly 30 minutes later a royal salute from the palace guns proclaimed Khalid's succession. Cave could not open hostilities without government approval and telegraphed the following message to the Foreign Office of Lord Salisbury's administration in London:
 ;templatestyles src="Template:Blockquote/styles.css" / ;
Meanwhile, Cave informed all other foreign consuls that all flags were to remain at half mast in honour of the late Hamad. The only one that did not was a large red flag flying from Khalid's palace. Cave also informed the consuls not to recognise Khalid as sultan, to which they agreed.
26 August.
At 10:00 on 26 August, the "Archer"-class protected cruiser arrived at Zanzibar Town and was anchored in line with "Thrush" and "Sparrow". At 14:00, the protected cruiser , flagship of the Cape of Good Hope and West Africa Station, steamed into the harbour. On board were Rear-Admiral Harry Rawson, the commander-in-chief, and further British marines and sailors. At around the same time Lord Salisbury's reply arrived authorising Cave and Rawson to use the resources at their disposal to remove Khalid from power. The telegraph read: "You are authorised to adopt whatever measures you may consider necessary, and will be supported in your action by Her Majesty's Government. Do not, however, attempt to take any action which you are not certain of being able to accomplish successfully."
Cave attempted further negotiations with Khalid, but these failed and Rawson sent an ultimatum, requiring him to haul down his flag and leave the palace by 09:00 on 27 August or he would open fire. During the afternoon, all merchant vessels were cleared from the harbour and the British women and children removed to "St George" and a British-India Steam Navigation Company vessel for their safety. That night, Consul Mohun noted that: "The silence which hung over Zanzibar was appalling. Usually drums were beating or babies cried but that night there was absolutely not a sound."
War.
27 August.
At 08:00 on the morning of 27 August, after a messenger sent by Khalid requested parley from Cave, the consul replied that he would only have salvation if he agreed to the terms of the ultimatum. At 08:30 a further messenger from Khalid declared that "We have no intention of hauling down our flag and we do not believe you would open fire on us"; Cave replied that "We do not want to open fire, but unless you do as you are told we shall certainly do so." At 08:55, having received no further word from the palace, aboard