A woman cries during a candlelight vigil for the victims of the Wednesday shooting at Marjory Stoneman Douglas High School, in Parkland, Fla., Thursday, Feb. 15, 2018. Nikolas Cruz, a former student, was charged with 17 counts of premeditated murder on Thursday. (AP Photo/Gerald Herbert)
PHOTO: Gerald Herbert/AP
A woman cries during a candlelight vigil for the victims of the Wednesday shooting at Marjory Stoneman Douglas High School, in Parkland, Fla., Thursday, Feb. 15, 2018. Nikolas Cruz, a former student, was charged with 17 counts of premeditated murder on Thursday. (AP Photo/Gerald Herbert)
Now playing
03:59
The cycle of inaction after mass shootings
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill.  (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill. (Photo by Win McNamee/Getty Images)
Now playing
02:54
Axelrod breaks down Manchin's surprising move
sinema
PHOTO: CNN
sinema
Now playing
01:50
Senator's move has many on the internet outraged
PHOTO: FBI
Now playing
02:58
Trump State Department official charged in Capitol riot
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
PHOTO: CNN
Now playing
02:53
Here's how Canadian schools have stayed open
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
PHOTO: JPL-Caltech/NASA
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
Now playing
02:17
NASA releases stunning new images from Mars
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
03:18
Rep. Sarbanes: Failure to pass HR 1 'would split our democracy in two'
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
PHOTO: CBS Evening News with Norah O'Donnell
Now playing
02:14
Governor Cuomo accuser Charlotte Bennett speaks out
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington.  Powell told Congress on Wednesday, Feb. 24, 2021,  that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment  and warned that many people in the hardest hit industries will likely need to find different jobs.  (AP Photo/Susan Walsh, Pool, File)
PHOTO: Susan Walsh/AP
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington. Powell told Congress on Wednesday, Feb. 24, 2021, that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment and warned that many people in the hardest hit industries will likely need to find different jobs. (AP Photo/Susan Walsh, Pool, File)
Now playing
02:18
Jerome Powell: US economy 'some time' away from full recovery
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
PHOTO: Patrick T. Fallon/AFP
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
Now playing
02:39
States rolling back Covid-19 safety measures as cases continue to rise
PHOTO: CBS' 60 Minutes+/Getty Images
Now playing
01:45
'QAnon Shaman' says he has one regret about January 6
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
Now playing
02:30
Alabama governor explains why she's ending mask mandate
PHOTO: CNN
Now playing
01:35
See what security looks like outside US Capitol
(CNN) —  

As of October 1, some Florida teachers can carry firearms on campus.

The measure is part of a controversial bill that Gov. Ron DeSantis signed in May. The legislation was based on recommendations made in response to the mass shooting at Marjory Stoneman Douglas High School in February 2018.

The bill authorizes school districts to implement at least one school-safety officer per public school. The definition is broad and could include a school resource officer, law enforcement official employed by the district, a school security guard or a school guardian.

Before the bill was passed, teachers were prohibited from serving as “guardians” in schools, according to the bill’s text.

But that was before the Parkland massacre.

In 2018, the Marjory Stoneman Douglas High School Public Safety Commission founded the Coach Aaron Feis Guardian Program. Named for the Parkland faculty member who was killed in the attack along with 16 students and staff, the program allows schools to arm teachers and staff or personnel hired specifically as guardians in the case of an armed attack.

Guardians must pass psychological and drug screenings and complete at least 144 hours of training, according to the Florida Department of Education.

School districts may opt-in to the program, but the bill doesn’t require teachers or districts to participate.

So far, 39 out of Florida’s 67 counties opted to participate in the program, including Broward County, despite the school board’s initial refusal to join the program.

Some districts already arm teachers. Others have banned it

Arming teachers was already legal in some school districts before the mass shooting in Parkland. Since then, the debate around guns in schools has only grown more contentious.

In August, New York Gov. Andrew Cuomo passed legislation banning school districts from arming teachers, one in a bundle of bills meant to strengthen firearm regulations in the state.

“The answer to the gun violence epidemic plaguing this country has never been and will never be more guns,” he said at the time.

School districts in Texas, Utah, Arkansas and South Dakota have allowed educators and school staff to carry firearms for several years, though the length and frequency of required training varies by state.

All states except Hawaii, New Hampshire and Wyoming ban people from bringing guns on K-12 campuses, though eight allow concealed handgun permit holders to carry their weapons at school or have no law on the subject, according to the Giffords Law Center to Prevent Gun Violence.

The Florida law went into effect on the second anniversary of the mass shooting in Las Vegas that killed 58 people. It remains the deadliest mass shooting in US history.

Two years earlier on the same date, nine people were shot to death at a community college in Roseburg, Oregon.