In 1857, a distant relation, Charles Langhorne, headmaster of Loretto School, employed him as mathematical schoolmaster, and in the summer of 1859 he was appointed as second master at Merchiston Castle School, under Dr Harvey.
