Sheridan worked as a boy in town general stores, and eventually as head clerk and bookkeeper for a dry goods store. In 1848, he obtained an appointment to the United States Military Academy from one of his customers, Congressman Thomas Ritchey; Ritchey's first candidate for the appointment was disqualified by failing an examination of mathematics skill and a "poor attitude." In his third year at West Point, Sheridan was suspended for a year for fighting with a classmate, William R. Terrill. The previous day, Sheridan had threatened to run him through with a bayonet in reaction to a perceived insult on the parade ground. He graduated in 1853, 34th in his class of 52 cadets.