He entered the East India Company civil service in 1820, and served in Benares until 1830.
He was appointed Magistrate and Collector of Meerut in 1834 and served in this post for three years before moving to be Commissioner of the Agra Division from 1837 to 1841, including during the famine.