Florida Gov. Rick Scott signs controversial gun bill that allows some armed teachers

The governor signed the bill nearly a month after 17 people were killed.

Surrounded by families affected by the Parkland shooting on Feb. 14, Scott formally signed the SB 7026, the so-called "Marjory Stoneman Douglas High School Public Safety Act," named after the school where the tragedy took place.

The legislation will raise the age to buy rifles to 21 from 18 and also require a three-day waiting period for long guns.

Hours after Scott signed the bill, the National Rifle Association filed a federal lawsuit claiming the law violates the Second Amendment by raising the age to buy guns.

SB 7026 also includes a controversial measure to arm some teachers and other school personnel who undergo special training sanctioned by the state.

The teacher-arming provision would allow school districts that don't want to participate to opt out. Under the guardian program, teachers and school employees who underwent law enforcement training would be able to carry handguns, provided that their districts opted in.

A number of public officials, including President Donald Trump, have argued that armed teachers would serve as a deterrent to would-be school shooters.

But according to the Tampa Bay Times, the state's largest school districts do not seem to be amenable to the idea of arming educators.

If Scott had not signed the legislation, it would have become law 15 days after it passed the house.