NEWYou can now listen to Fox News articles!

A 16-year-old student at Benjamin Cardozo High School in New York City was arrested Thursday after posting online threats about carrying out a school shooting, officials said.

The Queens student was then found on campus with a loaded semiautomatic handgun, and the NYPD swept in, stopping a potential tragedy.

The FBI confirmed in a statement to Fox News Digital that it had passed information on to the NYPD about the teenager’s plans and took swift action.

NYPD HUNTS FOR MAN ACCUSED OF BEATING OFF-DUTY COP AND STEALING HIS GUN, ALLEGED ACCOMPLICE ARRESTED

“Earlier today the FBI informed the NYPD of a threat to life involving the Benjamin Cardozo High School in Queens,” the statement read.

“The NYPD deployed to the high school to address this

See Full Page