Task: Translation
Input (English): He was an adviser to the president at the time of his death.
Output (Hindi): वह अपनी मौत के समय राष्ट्रपति के सलाहकार थे।