Florida House votes to pass gun-school safety bill
WATCH: Following the Parkland school shooting, the Florida state government is working on a bill to create new regulations on guns.

The Florida House voted to pass a gun-school safety bill spurred by the Valentine's Day mass shooting at Marjory Stoneman Douglas High that left 17 people dead, according to The Associated Press.

The bill now heads to Gov. Rick Scott's desk. Scott has not said whether he will sign it.

It includes a controversial measure to arm some teachers and other school personnel who undergo special training sanctioned by the state. The provision would allow school districts that don't want to participate to opt out of the program.

This Feb. 21, 2018 file photo shows students at the entrance to the office of Florida Gov. Rick Scott with boxes of petitions for gun control reform, at the state Capitol in Tallahassee, Fla.

Under the bill, any teacher who does nothing but work in a classroom would not be eligible for the program, but teachers who perform other duties, such as serving as a coach, and other school employees could participate. Other exceptions would be made for teachers with law enforcement or military backgrounds, and teachers in a Junior Reserve Officer's Training Corps program.

The bill names the program for Aaron Feis, the assistant football coach who was killed at Stoneman Douglas and has been hailed as a hero for shielding students during the school attack.

The proposed legislation was narrowly approved by the state Senate on Monday with a vote of 20-18, and the House held eight hours of debate on it Tuesday, striking down amendments to strip the bill of any measures to block school staff from carrying guns to work. The House passed the bill Wednesday evening, 67-50, after another eight hours of debate, according to the Sun-Sentinel.

About 20 protesters participate in a die-In on the fourth floor rotunda of the Florida Capitol, in Tallahassee, March 6, 2018, as they continue to push for an assault weapons ban.

President Donald Trump has publicly supported arming teachers who are properly trained as a way of hardening schools against gun violence.

The bill also:

-- Requires a three-day waiting period to buy a firearm.

-- Raises the age to buy a gun from 18 to 21.

-- Creates a commission to investigate the shooting at Marjory Stoneman Douglas High School and make recommendations to the state Legislature.

Florida Rep. Kristin Diane Jacobs, speaks on the gun safety bill in the House chamber at the Florida Capital in Tallahassee, Fla., March 7, 2018.

An earlier proposal to ban the sale of assault weapons like the AR-15-style rifle used in the school massacre was voted down by the Florida lawmakers even as students who survived the shooting sat in the State Capitol gallery.

The National Rifle Association has opposed the most of the proposed legislation, with the exception of arming teachers in schools.