The Anglo-Zanzibar War of 1896 lasted 38 minutes!
The immediate cause of the war was the 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 Hamud bin Muhammed, who was more favourable to British interests, as sultan.
In accordance with a treaty signed in 1886, a condition for accession to the sultanate was that the candidate obtain the permission of the British consul, and 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 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
