The United States on Thursday charged seven Iranians for what it said was a coordinated campaign of cyberattacks from 2011 to 2013 on several U.S. banks and a New York dam.

At a news conference, Attorney General Loretta Lynch said the seven Iranians indicted inflicted tens of millions of dollars in damages. The alleged attack against the dam by Iranians could have imposed a clear and present danger to Americans, she said.

RELATED:  US businessman detained in Iran is denied access to lawyer

Justice Department officials released the indictment at a news conference in Washington in what is one of the highest-profile U.S. indictments against a foreign nation on hacking charges.