 He graduated from the United States Military Academy in 1814, and served in the War of 1812 as an assistant engineer with the rank of second lieutenant.As a result of the US Army's post-war reduction, he resigned in May 1815.He was a member of the North Carolina House of Commons (1819–1824).