Maryland's ban on 45 kinds of assault weapons and its 10-round limit on gun magazines were upheld Tuesday by a federal appeals court in a decision that met with a strongly worded dissent.

In a 10-4 ruling, the 4th U.S. Circuit Court of Appeals in Richmond, Va., said the guns banned under Maryland's law aren't protected by the Second Amendment.

"Put simply, we have no power to extend Second Amendment protections to weapons of war," Judge Robert King wrote for the court, adding that the Supreme Court's decision in District of Columbia v. Heller explicitly excluded such coverage.

Maryland Attorney General Brian Frosh, who led the push for the law in 2013 as a state senator, said it's "unthinkable that these weapons of war, weapons that caused the carnage in Newtown and in other communities across the country, would be protected by the Second Amendment."

"It's a very strong opinion, and it has national significance, both because it's en-banc and for the strength of its decision," Frosh said, noting that all of the court's judges participated.

Judge William Traxler issued a dissent. By concluding the Second Amendment doesn't even apply, Traxler wrote, the majority "has gone to greater lengths than any other court to eviscerate the constitutionally guaranteed right to keep and bear arms." He also wrote that the court did not apply a strict enough review on the constitutionality of the law.