Melville was appointed Military Secretary to the India Office and 1837 remaining there until 1858 when he moved to Travancore where he worked with T. Madhava Rao, the Dewan of the State, to remove corruption.
Melville was appointed Military Secretary to the India Office and 1837 remaining there until 1858. In 1872 he moved to Baroda where he worked with T. Madhava Rao, the Dewan of the State, to remove corruption.