Gov. Dannel P. Malloy, who four months ago broke the news to shocked parents that their children had been slaughtered in a Connecticut elementary school, signed into law Thursday sweeping new restrictions on weapons and large capacity ammunition magazines similar to the ones used by the man who gunned down 20 child and six educators in the massacre.

Alongside family members of some of the victims of the shooting at Sandy Hook Elementary School, Malloy signed the bill hours after the General Assembly approved the measure to give the state some of the toughest gun laws in the country.

“This is a profoundly emotional day for everyone in this room,” Malloy said. “We have come together in a way that few places in the nation have demonstrated the ability to do.”