Among the general public, this year’s Supreme Court term will be primarily remembered for its major rulings on LGBT rights, abortion and whether the president is above the law.

For observers of Second Amendment law, however, the term stood out for another reason: Twice this session, the court rejected efforts by the National Rifle Association and other opponents of gun safety laws to misinterpret the Second Amendment in a way that could undo the progress that gun violence prevention advocates have made in statehouses and at the ballot box.