Lord Canning served as the Governor General of India from 1856 to 1862. During his tenure,the Government of India Act, 1858 was passed, which created the office of Viceroy to be held by the same person who was the Governor General of India. Thus, Lord Canning also served as the first Viceroy of India.