From 1776 to 1780 the words "State of Massachusetts Bay" appeared on the top of all acts and resolves. In 1780, the Massachusetts Constitution went into effect. Part Two of the Constitution, under the heading "Frame of Government" states: "that the people ... form themselves into a free, sovereign, and independent body politic, or state by the name of The Commonwealth of Massachusetts." Virginia (on June 29, 1776) and Pennsylvania (on September 25, 1776) adopted Constitutions which called their respective states commonwealths. Kentucky is also a commonwealth. Commonwealths are states, but the reverse is not true. Legally, we are a commonwealth because the term is contained in the Constitution.
In the era leading to 1780, a popular term for a whole body of people constituting a nation or state (the body politic) was the word "Commonwealth." This term was the preferred usage of some political writers. There also may have been some anti-monarchial sentiment in using the word commonwealth. John Adams utilized this term when framing the Massachusetts Constitution.
Adams wrote: "There is, however, a peculiar sense in which the words republic, commonwealth, popular state, are used by English and French writers; who mean by them a democracy, or rather a representative democracy; a ‘government in one centre, and that centre the nation;’ that is to say, that centre a single assembly, chosen at stated periods by the people, and invested with the whole sovereignty, the whole legislative, executive, and judicial power, to be exercised in a body, or by committees, as they shall think proper." (Adams, John, and Charles Francis Adams. The works of John Adams, second president of the United States: with a life of author, notes and illustrations. Charles C. Little and James Brown, 1850-56, vol. 5, p. 454)
This information is provided by The State Library of Massachusetts.