most of adam's career was spent in the secretariat. he was private as well as political secretary to the marquess of hastings, whom he accompanied in the field during the third anglo-maratha war. in 1817 he was nominated by the court of directors a member of council. in 1819 he became a member of the supreme council of india.