A federal appeals court Monday upheld parts of laws passed in New York and Connecticut in the wake of the 2012 Sandy Hook shootings -- laws that banned the possession of semiautomatic weapons and large-capacity magazines.

The 2nd U.S. Circuit Court of Appeals in New York struck down a provision regulating load limits and a Connecticut prohibition on the non-semiautomatic Remington 7615, Reuters reported. The court, however, upheld the core provisions of the two laws that banned semiautomatic weapons and large-capacity magazines.

New York and Connecticut’s gun laws are among the strictest in the U.S. and were signed into law after Adam Lanza killed 26 children and staff at Sandy Hook Elementary School in Newtown, Conn., in December 2012.

The decision comes as gun control becomes a hot political topic after the Oct. 1 shooting at Umpqua Community College in Roseburg, Ore., in which 10 people were killed, including the gunman.

President Obama has reportedly been considering using executive action to act on gun background checks after he called for Americans to turn gun control into a political issue in the wake of the shooting, while Democratic 2016 front-runner Hillary Clinton has said she would be prepared to use executive action to expand background checks.