In 1847, Mosby enrolled at Hampden–Sydney College, where his father was an alumnus. Unable to keep up with his mathematics class, Mosby left the college after two years. On October 3, 1850, he entered the University of Virginia, taking Classical Studies and joining the Washington Literary Society and Debating Union. He was far above average in Latin, Greek, and literature (all of which he enjoyed), but mathematics was still a problem for him. In his third year, a quarrel erupted between Mosby and a notorious bully, George R. Turpin, a tavern keeper's son who was robust and physically impressive. When Mosby heard from a friend that Turpin had insulted him, Mosby sent Turpin a letter asking for an explanation—one of the rituals in the code of honor to which Southern gentlemen adhered. Turpin became enraged and declared that on their next meeting, he would "eat him up raw!" Mosby decided he had to meet Turpin despite the risk; to run away would be dishonorable.