 He accepted a position teaching mathematics at the Clarksville school of John D. Tyler.In 1853, a family friend offered to finance his college education at the institution of his choice.He chose the University of North Carolina at Chapel Hill, where he graduated second in his class in June 1857.