He served in the First Anglo-Afghan War, as deputy-assistant commissary-general and baggage-master with the Bombay division, and was present at the battle of Ghazni and occupation of Kabul.