The law, which also outlawed magazines capable of holding more than 10 rounds, was challenged by two men who said they wanted to buy the banned rifles and by a handful of gun stores and associations. They argued that the rifles were popular among gun enthusiasts, used by people to defend their homes and not inherently dangerous. A federal judge in Baltimore disagreed, upholding the law.