 He studied in Salem, Massachusetts, and then at Harvard College.He studied law in his father's office and became an attorney in 1808.In 1810, he went to London and continued his studies in law with George Sowley Holroyd, being admitted to the bar in England in 1812.