Lord Lytton served as Viceroy of India from 1876 to 1880. His foreign policy towards Afghanistan was marked by an aggressive "Forward Policy," aimed at establishing British influence and countering perceived Russian expansion, which led to the Second Anglo-Afghan War (1878-1880).