A federal appeals court has set oral arguments over the constitutionality of a Maryland law banning 45 assault weapons and high-capacity gun magazines.

The 4th U.S. Circuit Court of Appeals scheduled arguments in the matter for March 24.

In a filing Friday, gun-rights advocates say the law violates the Second Amendment and that a federal judge in Baltimore erred when she upheld the law last summer.

Brian Frosh, Maryland's newly sworn-in attorney general and chief sponsor of the law while a state senator, tells The Daily Record that the law passes constitutional muster to protect public safety.

The law bans 45 assault weapons and high-capacity magazines. Maryland lawmakers approved the sweeping legislation in 2013 in response to the December 2012 shooting at Sandy Hook Elementary School in Newtown, Connecticut.