The law was passed and signed by Gov. Dannel Malloy last year in the wake of the shooting at Sandy Hook Elementary School, and went into effect at the beginning of 2014.
A group of gun owners challenged the law, claiming that it violated the Second Amendment. Covello, a Republican appointee, rebutted their claims and said that the law was meant to provide for public safety.
"Obviously, the court cannot foretell how successful the legislation will be in preventing crime," he wrote. "Nevertheless, for the purposes of the court's inquiry here, Connecticut, in passing the legislation, has drawn reasonable inferences from substantial evidence."