This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

NEW YORK — The same morning Los Angeles received a threat against its schools and canceled classes for more than half a million students, New York City also was alerted to a threat against its schools but has deemed it not credible, authorities said Tuesday.

Commissioner William Bratton said a “specific but non-credible” threat was made against city schools and came in the form of an email. He said the email was “generic” and similar to messages received at school districts across the country, including in Los Angeles where the public schools were closed Tuesday.

“We have an investigation underway but it is an investigation into a hoax,” he told reporters.

Bratton speculated the person who sent the email — which came from overseas — may be a fan of the show “Homeland,” adding that the threat mirrored recent episodes of the series.

Mayor Bill de Blasio called the threat “so generic, so outlandish” and said it was “posed to numerous school districts simultaneously.”

Rep. Brad Sherman (D-California) said he read the email received by LA officials and told CNN the sender mentioned having 32 accomplices and a nerve agent, and included a “pornographic reference to a body part.” Sherman said the email specifically mentioned LAUSD.

Authorities in New York were concerned with people overreacting to the threat, which they’ve deemed unfounded.

“These threats are made to promote fear,” he said. “We cannot allow up to raise the levels of fear.”

NYPD is working with FBI’s Joint Terrorism Task Force and LAPD, Bratton said.

New York City’s public school district is the largest in the country with 1.1 million students in more than 1,800 schools, according the city Department of Education’s website. The second-largest school district in the nation is Los Angeles Unified, where some 640,00 students attend more than 1,000 public and public charter schools.