 He received an appointment to the United States Military Academy and graduated in 1836, ranking 33rd out of 49 cadets.He was assigned as a second lieutenant in the 2nd U.S.Artillery and assigned to garrison duty in various outposts.