In 1875, he became Professor of Ecclesiastical History at King's College, London, of which he served as Principal (1883–97). He was Rector of St Michael's, Cornhill 1896-1903 and Dean of Canterbury from 1903 until his death in 1924. He is buried in the courtyard of the great cloister of the cathedral.