No employee of any department, board or commission of the city shall, directly or indirectly, solicit or receive, or in any manner be concerned in soliciting or receiving any assessment, subscription or contribution for any political party, for any candidate for city office or for any political committee organized on behalf of such candidate. This section shall not prevent such persons from being members of political organizations or committees. The soliciting or receiving of any gift, payment, contribution, assessment, subscription or promise of money or other thing of value by a non-elected political committee organized to promote the candidacy for city office of an employee of any department, board or commission of the city shall not be deemed to be a direct or indirect solicitation or receipt of such contribution by such person, provided, however, that no such gift, payment, contribution, assessment, subscription or promise of money or other thing of value may be solicited or received on behalf of such a person from any person or combination of persons if such person so employed knows or has reason to know that the person or combination of persons has an interest in any particular matter in which the person so employed participates or has participated in the course of such employment or which is the subject of his official responsibility. A person who violates any provision of this section shall be punished by a fine of not more than five hundred dollars or by imprisonment for not more than six months, or both such fine and imprisonment, and upon final conviction thereof the office or position in the service of the city held by such person shall be vacated and such person shall not be eligible for an office or position, elective or otherwise, in the service of the city.
Mass. Gen. Laws ch. 43, § 108