No officer, clerk or other person in the service of the commonwealth or of any county, city or town shall, directly or indirectly, give or deliver to an officer, clerk or person in said service, or to any councillor, member of the general court, alderman, councilman or commissioner, any money or other valuable thing on account of, or to be applied to, the promotion of any political object whatever.\nNothing in this section shall be construed to prevent any officer, clerk or other person in the public service of the commonwealth, or of any county, city, or town from making a contribution to a candidate or to an elected or nonelected political committee.\nViolation of any provision of this section shall be punished by a fine of not less than one hundred nor more than one thousand dollars.
Massachusetts Legal Code