The Bloomfield School District's website was hacked early Monday and displayed an "ISIS-sponsored YouTube video" for about two hours, according to a statement from the district.

"Around 4 AM EST, Monday, 11/6, an unknown group hacked the websites of a number of companies nationwide, including the one that hosts the District's and schools' web sites," read the statement posted on the Bloomfield School District website, which is run by a company called SchoolDesk based in Atlanta.

In a statement, SchoolDesk said, "The sites were displaying an Arabic messaged and a picture of Saddam Hussein." Approximately 800 school and district pages nationwide were affected, according to the company.

The FBI and other agencies are investigating the attack, according to the Bloomfield district statement.

The district reported the hacked page was taken offline around 6 a.m. and the website was returned to full functionality around 7 a.m.

ELECTIONS:Who are the Bloomfield BOE candidates?

CRASH:Bloomfield woman identified in fatal train strike

"At no time was confidential student or staff data compromised. The internal computer and data systems within the District were completely unaffected," said the district's statement. "Everything that happened occurred at the web host's companies server farms in Atlanta, Georgia and Florida."

Schools Superintendent Sal Goncalves declined to comment.

The hack came one day before a contested race for the Bloomfield Board of Education.

In a statement Tuesday, Rep. Donald Payne Jr. addressed the hacking of the Bloomfield School District website and others in New Jersey.

"Cyber attacks against school systems have the potential to disrupt school operations and compromise student information," Payne stated. "In light of this attack against schools in my district, I am working on federal legislation to address cybersecurity threats to schools."

The neighboring Belleville School District, which does not use SchoolDesk, was not impacted by the hack, Schools Superintendent Richard Tomko said.

“We do as much hosting as possible outside of our network after it broke down a couple of years ago,” Tomko said. “If it was hacked, it would have to have been an external vendor.”

In a statement, SchoolDesk said that it immediately took all the affected sites offline once they were notified of the issue.

"Our technical staff discovered that a small file has been injected into the root of one of the SchoolDesk websites, redirecting approximately 800 school and district websites to iFramed YouTube page containing an audible Arabic message, unknown writing, and a picture of Saddam Hussein," according to the SchoolDesk statement.

The company said it added more protection and are requiring all users of its websites to reset their passwords.

"SchoolDesk is actively working with various local, state and federal law enforcement agencies, including the FBI, on tracking the source of these website intrusions," said the company statement.

SchoolDesk noted that the hack was "experienced by many other companies, non-profit organizations, as well as private, state and even federal websites."