De volgende jaren gaf hij in West Point les in ingenieurstechniek en Frans. ###>In 1837 he entered West Point and graduated second in his class of 52 from the United States Military Academy in 1841 with a commission in the engineers.