 Then he studied law.He entered the United States Army at the beginning of the War of 1812 as First Sergeant of Newburgh Company Number Five.He was commissioned a captain in the Forty-first Regiment, United States Infantry, on August 15, 1813.