The highest court in Massachusetts on Wednesday upheld the constitutionality of a state law that requires gun owners to lock weapons in their homes in a ruling applauded by gun-control advocates.
The case had been closely watched by both gun-control and gun-rights proponents.
Massachusetts prosecutors argued that the law saves lives because it requires guns to be kept in a locked container or equipped with a trigger lock when not under the owner's control. The Second Amendment Foundation Inc., however, cited a 2008 U.S. Supreme Court ruling that said people have a constitutional right to keep weapons for self-defense.
The state Supreme Judicial Court, ruling in the case of a man charged with improperly storing a hunting rifle in his Billerica home, unanimously agreed that the Second Amendment does not overrule the state's right to require owners to store guns safely.
"We conclude that the legal obligation safely to secure firearms (in the Massachusetts law) is not unconstitutional ... and that the defendant may face prosecution on this count," Justice Ralph Gants wrote.
The case involved Richard Runyan, whose mentally disabled son allegedly shot at a neighbor with a BB gun. The 18-year-old showed police where his father kept other guns, and the father was charged with improperly storing a hunting rifle under his bed.
Middlesex District Attorney Gerry Leone, whose office prosecuted Runyan, praised the court's ruling.
"While maintaining a citizen's ability to possess firearms for the purpose of self defense is important, it is just as imperative to properly secure those firearms to prevent tragedies, especially as it relates to young people, as was the case here," Leone said.
Gun proponents, however, said the law infringes on the rights of legal gun owners.
"If somebody is in their own home and they have a gun for defense, the state has no business regulating how they store it if they are not committing an intentional crime," said attorney Edward George Jr., who filed a friend-of-the court brief on behalf of the Gun Owners' Action League and the Second Amendment Foundation Inc.
George had asked the SJC to delay its ruling in the Runyan case until the U.S. Supreme Court rules in a Chicago case in which it is expected to decide if the Second Amendment will be applied to state gun laws. Arguments were heard last week in that case.
The SJC, however, cited an 1875 Supreme Court ruling that gives Massachusetts the right to set its own firearms regulations.
Under that ruling, the SJC said, "the Second Amendment imposes no limitations on the ability of the Massachusetts Legislature to regulate the possession of firearms and ammunition."
A Lowell District Court judge had dismissed the charges against Runyan, citing the Supreme Court's 2008 ruling that threw out a District of Columbia requirement that firearms be equipped with trigger locks or kept disassembled. In that case, District of Columbia v. Heller, the Supreme Court found that the Second Amendment gives people the right to keep and bear arms for self-defense in their homes.
Massachusetts prosecutors argued that the state law is less restrictive than the D.C. law. The Massachusetts court agreed, finding that the state law allows gun owners to keep their guns unlocked when they are at home and the guns are under their control, but must keep them locked when they are not home.
Daniel Vice, senior attorney for the Brady Center to Prevent Gun Violence, called the Massachusetts high court ruling "crucial."
"It says that the right to have a gun in your home comes with a responsibility, such as keeping guns away from children," Vice said.
© Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.