After seven years employed with his regiment, he was then employed as subordinate to the collector of Gujarat. In 1838 he was ordered to Sind with the Bombay column, to join the army of the Indus at the outbreak of the First Anglo-Afghan War.