Mass. Gen. Laws ch. 55, § 33
(b) After the entry of such order, and within two months after the election to which it relates, the election petition may be filed in the superior court within and for Suffolk county.
Notice of the petition shall be by writ of subpoena according to the usual course of proceedings in equity and shall be returnable fourteen days after the date on which the petition is filed.
A subpoena issued upon an election petition shall be served not less than seven days before the return day.
A defense to an election petition shall be by answer, filed within seven days after the return day, and no replication need be filed.
Election petitions shall be entered on the equity docket.
(e) If upon an election petition one or more violations of section thirty-two are proved, it shall be a defense to the petition if the defendant establishes to the satisfaction of a majority of the justices hearing the same, with reference to all said violations, the following:
As to every such violation, either that