 He studied for two years at Princeton University, and then entered the United States Military Academy.He graduated in 1831 and served at frontier posts in the Michigan Territory.He was commissioned as a second lieutenant of infantry on December 31, 1831.