The supreme judicial or superior court may at any sitting, in the absence of the attorney general and district attorney, appoint some suitable person to perform their duties.
Mass. Gen. Laws ch. 12, § 26
Court appointment of substitute in absence of attorney general and district attorney
Official source: Massachusetts Legislature. Reproduced from public-domain Massachusetts statutes; confirm against the official source for the current text. Not legal advice.