Special trains to Oxford were provided on the day of the election, 7 December 1860, for non-residents to cast their votes. At the end of the hard-fought campaign, Williams won by a majority of over 220 votes. Thereafter, he helped to establish the Indian Institute at Oxford, received a knighthood, and held the chair until his death in 1899.