Paine attended the Boston Latin School and at the age of fourteen entered Harvard College, from which institution he graduated in 1749 at age 18. He then was engaged in teaching school for several years back at the Boston Latin and at Lunenburg, Massachusetts. He also attempted a merchant career with journeys to the Carolinas, the Azores, and to Spain, as well as a whaling voyage to Greenland. He began the study of law in 1755 with his mother's cousin in Lancaster, Massachusetts. Paine was unsuccessful in gaining an officer's commission in that regiment and so volunteered to serve as chaplain. When he returned from a brief military campaign to Lake George (the Crown Point Expedition), he did some occasional preaching and returned to his legal studies. In 1756 he returned to Boston to continue his legal preparations with Samuel Prat, and he was admitted to the bar in 1757. He first considered establishing his law practice at Portland (then part of Massachusetts but now in Maine), but instead in 1761 moved to Taunton, Massachusetts, then back to Boston in 1780.