From August 1889 Lyall spent some time working as home secretary in the Raj government, and was also tasked with an investigation of the penal settlement at Port Blair [REF].
Upon his return to England, Lyall was transferred to the India Office in London as secretary to the Judicial and Public Department.