 He graduated from Union College in 1834.Then he studied law and was admitted to the bar in 1837.He was Solicitor of the United States Treasury from 1852 to 1853, during the administration of President Millard Fillmore.