In 1821 he was elected as a state representative as a Whig, and in 1823 and 1824 he won election to the state senate.
He served as a state representative for the Whig party in 1821, and then went on to be elected to the state senate in 1823 and 1824.