DENVER (AP) — Colorado Democrats launched another campaign Thursday to pass a “red flag” gun law — an effort backed by many top law enforcement officials to allow weapons to be seized from people who are determined by a court to pose significant risk.

Florida passed its own “red flag” law after the February 2017 Parkland school massacre, and 12 other states have done so. Colorado Republicans defeated a similar bill last year, insisting it infringed on citizens’ Second Amendment rights. But Democrats won both statehouse chambers in November, and Democratic Gov. Jared Polis called for a “red flag” law while campaigning last year.

The House Judiciary Committee voted 7-4 along party lines late Thursday to send this year’s bill to the chamber’s appropriations committee. The vote came after more than eight hours of testimony for and against the bill.

The legislation would allow family or law enforcement to seek a court order to have guns seized if they believe the owner is a threat. If approved, a subsequent court hearing would be held to determine whether to extend the seizure, up to 364 days.

The bill also would leave it up to the person whose guns were seized to prove at any point that he or she no longer poses a risk. That person would be entitled to legal counsel.

“This is the first step to move forward on a solution that is geared at trying to help people in crisis and confront the epidemic of gun violence that’s had a significant impact on the state of Colorado,” said House Majority Leader Alec Garnett, a co-sponsor along with first-term Rep. Tom Sullivan.

Sullivan’s son, Alex, was killed while celebrating his 27th birthday in the 2012 Aurora movie theater shooting.

“Watching your child’s body drop into the ground is as bad as it gets,” Sullivan told a news conference last week. “And I’m going to do everything I can to make sure that none of you have to do that.”

A number of law enforcement officials supported the effort, including Tony Spurlock, sheriff of suburban Douglas County, who lost a deputy in a New Year’s Eve 2017 shooting by a suspect who was exhibiting increasingly erratic behavior. The bill is named after the deputy, Zachari Parrish.

Boulder County Sheriff Joe Pelle also supported the bill. His son was wounded in the shooting that killed Parrish.

“This is an issue that comes up constantly. We know who these folks are,” Pelle testified. “We absolutely know when and how the time is right to use the courts to help us relieve the situation and make our communities - and our officers - safer.”

John Walsh, a former U.S. attorney for Colorado, insisted the legislation protects the rights of gun owners to due process and that courts in other states have upheld similar laws.

House Minority Leader Patrick Neville, a survivor of the 1999 Columbine High School massacre, says the bill would discourage citizens from seeking help because of the “stigma” associated with mental illness.

“No one should feel they have to choose between their guns and getting the help they need,” Neville said in a statement.

“I’m saddened that our beautiful state is moving away from due process,” said John Anderson, a retired commander of the Castle Rock Police Department and 20-year veteran of SWAT teams. The bill, he said, presumes that “the accused is guilty until proven innocent” and will create dangerous situations when officers try to confiscate firearms.

“You have now singled out one class of citizens in Colorado, and that is gun owners. And you will be challenged in court,” said Dudley Brown, executive director of the advocacy group Rocky Mountain Gun Owners.

The bill is backed by numerous gun control groups, including one founded by former Arizona U.S. Rep. Gabby Giffords, who was severely wounded in a 2011 shooting, and survivors of the 2012 Sandy Hook Elementary massacre in Newtown, Connecticut.

Gun rights are a perennial issue at Colorado’s Capitol. Lawmakers approved a ban on high-capacity magazines and added background checks for firearm transfers in 2013 following the Aurora and Sandy Hook shootings. Gun rights groups pushed successful recalls against two Democratic state senators who voted for the bills.