He was Fullerian Professor at the Royal Institution and became Jodrell Professor at UCL in 1883, a position he held until 1899 when he was appointed to the chair of physiology at the University of Edinburgh (replacing the late William Rutherford) where he remained until his retirement in 1933 and becoming Emeritus Professor thereafter.