Abu Hamed was of critical importance to Lord Herbert Horatio Kitchener, leader of the Anglo-Egyptian campaign that commenced in March 1896 with the objective of destroying the Mahdist state that had occupied much of Sudan since the initial Mahdist rebellion broke out in 1881. The town was to be the railhead for Lord Kitchener’s supply railway through the vast and inhospitable Nubian Desert, allowing expeditionary forces to bypass a great stretch of the Nile on their way to Omdurman, the capital of Mahdist Sudan. However, the town was occupied by Mahdist forces, and construction of the desert railway could not safely proceed without their removal.