 He was posted to Egypt in 1897 and served as a Staff officer in charge of organising supplies during the Anglo-Egyptian invasion of Sudan in 1898 before being attached to the Intelligence Department before the Battle of Omdurman where he was an aide to Sir Herbert Kitchener, the commander in chief of British forces.He was mentioned in despatches after the battle and received the Khedive's Sudan Medal and Queen's Sudan Medal as well as the Order of Osmanieh, fourth class.He was Director of Works and Stores for the Egyptian Army from 1900 to 1904, during which he received the Order of Medjidie, third class.