He accepted a writership in the service of the East India Company .
He went out to India , and there , at the suggestion of Warren Hastings , translated the Hindu legal code from a Persian version of the original Sanskrit .
Accepting a writership in the service of the East India Company , he went out to India , and there , at the suggestion of Warren Hastings , translated the Hindu legal code from a Persian version of the original Sanskrit .