ANNAPOLIS, Md. (AP) — A federal appeals court has upheld Maryland’s ban on 45 assault weapons and a 10-round limit on gun magazines.

The 4th U.S. Circuit Court of Appeals in Richmond, Virginia, issued the ruling Tuesday.

READ MORE: Maryland Weather: Warm Temperatures May Help Create A Severe Storm

The court ruled that the banned assault weapons “are not protected by the Second Amendment.”

The court says: “Put simply, we have no power to extend Second Amendment protections to weapons of war” that the Supreme Court’s decision in District of Columbia v. Heller explicitly excluded from such coverage.

READ MORE: Early Voting Wins Preakness Stakes Amid Record Temperatures

Maryland Attorney General Brian Frosh led the push to pass the law in 2013. He praised the ruling, describing it as “very strong.”

Maryland passed a sweeping gun-control measure after the 2012 Sandy Hook Elementary School massacre that killed 20 children and six educators in Connecticut.

Follow @CBSBaltimore on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Ravens' Football Clinic Helps Children Improve Sports Skills

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)