The Active Shooter Alert Act, proposed by Reps. Fred Upton, R-Mich., and David Cicilline, D-R.I., was passed Wednesday by a vote of 260 to 169. The bill is now going to the Senate.
The law would set up a system like Amber Alert for when there is an active shooter, according to NBC News.
Almost all of the votes in opposition were from Republicans, except for one from retiring Wisconsin Democrat Ron Kind.
Forty-three Republicans approved the measure.
The legislation would let law enforcement use emergency alert systems and warn the public about active shooters.
Cicilline and Upton said the alert system might be utilized in the circumstances like the July 4th mass shooting in Highland Park, Illinois, when the gunman was free for eight hours, and the April massacre at a Brooklyn subway station when the suspect was on the run for 29 hours.
Cicilline added that when there is an active shooter, authorities have to use Twitter and other social media platforms to let people know what was happening.
“This is terribly inefficient and dangerous,” he said in a statement. “Law enforcement needs and deserves better tools than Twitter to communicate with the community, and the Active Shooter Alert Act answers that call.”
Police and first responders would be able “to focus on ending the situation and saving lives,” said Upton.
He also said that he heard from “law enforcement and police chiefs that active shooter alerts can be a vital tool to provide accurate, real-time information to our communities, and one they believe will help in these dangerous situations.”
In recent months, there have been several mass shootings in the U.S., including in Buffalo, New York, Uvalde, Texas, and Highland Park. The House of Representatives passed the bill because of those incidents.
Moreover, Joe Biden signed the most comprehensive bill to stop gun violence in 30 years at the end of June. The bill was made in response to the incidents.