By the early 1880s, French and British controls in Egypt and particularly the Suez Canal produced the 'Urabi revolt, led by Ahmed ‘Urabi. In June 1882, the revolutionaries, angered by foreign influence in the country, murdered fifty Europeans, prompting the British Royal Navy to bombard Alexandria and then land forces to pursue the rebels. In the wake of the conflict, the German government determined that warships should be sent to protect Germans in the country. Initially hoping to avoid mobilizing any vessels in Germany to keep the cost of the operation to a minimum, the "Admiralität" ordered a pair of gunboats, and , that had been returning from overseas deployments to proceed to Egypt. There, they sent sailors ashore to protect Germans in Alexandria and Port Said, respectively.