The governor of Connecticut has signed into law some of the strongest restrictions on gun ownership in the United States, less than four months after children were slaughtered by a gunman in an Connecticut elementary school.

Connecticut Governor Dannel Malloy, a Democrat, signed the bill into law just hours after lawmakers approved it Thursday.

The law adds more than 100 firearms to Connecticut's list of banned assault weapons, limits the capacity of ammunition magazines to just 10 rounds, and mandates background checks for all gun sales, including at gun shows. The measure also addresses mental health and school safety issues.

The new law was drafted in response to last December's massacre at an elementary school in Newtown, Connecticut, where 20 children and six adults were killed by a single gunman with an assault-style weapon. The tragedy was the latest in a rash of deadly mass shootings across the U.S. in recent years, reviving a long-simmering national debate on gun control. Two other states, New York and Colorado, have passed strong gun control measures since the Newtown tragedy.

But efforts to pass gun control legislation in the U.S. Congress has run into strong opposition from the National Rifle Association, the powerful gun rights lobbying group.  The NRA says such measures infringe on the constitutionally guaranteed right to own guns.

Some information for this report was provided by AP.