Boston Latin School
He was educated at Boston Latin School and Harvard University, from which he graduated with an AB in 1781 and master's degree in 1784.