 In 1881 he became examining chaplain to the Bishop of St. Albans, and the following year was appointed professor of pastoral theology at King's College London.In 1890 he succeeded Brooke Foss Westcott as regius professor at Cambridge, and retained this position until 1915, when he retired with the title of emeritus professor.In June 1901, he received an honorary doctorate of Divinity from the University of Glasgow.