Officials in Newtown, Conn., have unanimously approved a local ordinance limiting recreational shooting in the town, according to Time.

The ordinance was being debated prior to the Dec. 14 mass shooting at Sandy Hook Elementary School, and it was approved last week. It prohibits residents from shooting for more than four hours after police are notified and only one person at a time may shoot. Target backstops, which must be 10 feet above the target, are required.

According to Jeff Capeci, Newtown’s legislative council president, the ordinance is meant to strike a balance between those who want to protect their Second Amendment rights and those who are worried about safety and nuisance issues. Hunters and professional law enforcement are not affected.