Read up on the Maxim gun - and how the British completely brought to an end the last Islamic resurgence.
By coincidence, I was doing that just yesterday (Omdurman, 1898: 11,000 of the Mahdi's boys dead, 16,000 wounded, at a cost of 48 British dead. Later memorialized by the schoolboy rhyme:
"Whatever happens, we have got
The Maxim Gun, and they have not"