omb asa . ▁ ▁The ▁same ▁year ▁the ▁German ▁East ▁Africa ▁Company ▁acquired ▁formal ▁direct ▁rule ▁over ▁the ▁coast al ▁area ▁previously ▁submitted ▁to ▁German ▁protection . ▁This ▁resulted ▁in ▁a ▁native ▁u pr ising , ▁the ▁Ab ush iri ▁Revol t , ▁which ▁was ▁cr ushed ▁by ▁a ▁joint ▁Ang lo - G erman ▁naval ▁operation ▁which ▁her ald ed ▁the ▁end ▁of ▁Z anz ib ar ' s ▁influence ▁on ▁the ▁main land . ▁▁ 1 8 9 0 ▁- ▁Est ab lish ment ▁by ▁the ▁British ▁of ▁the ▁Z anz ib ar ▁Prote ctor ate ▁on ▁part ▁of ▁the ▁Sultan ' s ▁domin ions ▁With ▁the ▁signing ▁of ▁the ▁Hel ig ol and - Z anz ib ar ▁Tre aty ▁between ▁the ▁United ▁Kingdom ▁and ▁the ▁German ▁Empire ▁in ▁ 1 8 9 0 , ▁Z anz ib ar ▁itself ▁became ▁a ▁British ▁prote ctor ate . ▁In ▁August ▁ 1 8 9 6 , ▁following ▁the ▁death ▁of ▁Sultan ▁Ham ad ▁bin ▁Th uw ain i , ▁Britain ▁and ▁Z anz ib ar ▁fought ▁a ▁ 3 8 - min ute ▁war , ▁the ▁short est ▁in ▁recorded ▁history . ▁A ▁struggle ▁for ▁succession ▁took ▁place ▁as ▁the ▁Sultan ' s ▁cousin ▁K hal id ▁bin ▁B arg hash ▁seized ▁power . ▁The ▁British ▁instead ▁wanted ▁Ham oud ▁bin ▁Moh ammed ▁to ▁become ▁Sultan , ▁bel ieving ▁that ▁he ▁would ▁be ▁much ▁easier ▁to ▁work ▁with . ▁The ▁British ▁gave ▁K hal id ▁an ▁hour ▁to ▁vac ate ▁the