After leaving the Navy he studied law under his father, was admitted to the bar in 1818, and commenced practice in Goshen, New York.
He disagreed with the Jackson administration over the need for a federally chartered central bank, and abandoned Tammany Hall and the Democratic Party for the Whigs after Jackson's decision not to re-charter the Second Bank of the United States.