The office of the governor general was changed to viceroys in 1876 and they became the direct representatives of the British Crown. Lord Irwin or Lord Edward Frederick Wood Irwin was appointed as the Indian Viceroy in April 1926 and was in office till 1931.