Massachusetts law generally bans (among other things) gun purchases by anyone who has any convictions on his record for “violation of any law regulating the use, possession or sale of controlled substances as defined.” That’s not limited to felonies, violent misdemeanors, or recent crimes. Convictions in Massachusetts court for possession of small quantities of marijuana are in effect excluded:

[S]tate law has since 1971 allowed the sealing of the record of a person convicted of first-time marihuana misdemeanor possession who successfully completes probation. A record, once sealed, “shall not be deemed a conviction for purposes of disqualification or for any other purpose.”

Moreover, since 2008, possession of small quantities of marijuana in Massachusetts has been decriminalized. But out-of-state convictions aren’t covered by either the 1971 law or the 2008 law, so anyone with an out-of-state marijuana possession conviction — however old — is barred from buying guns.

In Wesson v. Town of Salisbury (D. Mass. Apr. 18, 2014), the attorney general’s office essentially agreed that this was basically a Second Amendment violation, and the district court agreed. To be precise, the attorney general’s brief stated that “the Commonwealth does not oppose a narrowly drawn declaratory judgment stating that, as applied to these plaintiffs, §§ 131(d)(i)(e) and 131A infringe the Second Amendment right to possess firearms in the home for self-defense” (emphasis added), but in this context this sort of “no contest” position is essentially an admission that the ban violates the Second Amendment as applied.

The plaintiffs, by the way, seem to have been carefully chosen:

Plaintiff Michael Wesson is a sixty-five-year-old resident of Salisbury, Massachusetts. In 1973, Wesson was convicted in Maine of misdemeanor possession of a small amount of marihuana (a “joint”) and paid a $300 fine. He has no other record of criminal convictions…. Plaintiff Thomas Woods is a fifty-two-year-old resident of Natick, Massachusetts. In 1982, while on active service in the U.S. Navy, Woods was convicted in Norfolk, Virginia, of simple possession of marihuana (“a small bag”) and paid a $10 fine. He has no other record of criminal convictions.

For rare cases that upheld even felons’ rights to possess guns, when the felonies were old (and relatively minor) enough, see the state constitutional law cases discussed here; for pointers to cases suggesting the same as to the Second Amendment, see here.