 He was a member of the Massachusetts House of Representatives from 1834 to 1837.From 1837 to 1839, he was Mayor of Boston.During his administration a riot took place, caused by a collision between a volunteer fire company and an Irish funeral procession.