The feds on Friday announced the indictment of 12 Russian intelligence officers for hacking the Democratic National Committee’s and Hillary Clinton’s emails.

“The internet allows foreign adversaries to attack America in new and unexpected ways,” Deputy Attorney General Rod Rosenstein said at a news conference at the Justice Department.

“Together with our other law enforcement partners, the Department of Justice is resolute in its commitment to locate, identify and seek to bring to justice anyone who interferes with American elections.”

The 12 are members of Russia’s spy agency the GRU, the successor to the KGB, in which Russian President Vladimir Putin was an intelligence officer.

Rosenstein said they disseminated the stolen emails, which rocked Clinton’s campaign, on the websites Guccifer 2.0, DCLeaks, and “another entity.”

DCLeaks disguised itself as the work of American hackers, while Guccifer was supposedly a lone Romanian. But Rosenstein said they were all GRU agents.

The defendants were slapped with multiple charges, including conspiracy, identity theft and money laundering. They remain at large, presumably in Russia.

Rosenstein said there was no evidence of American involvement in Friday’s indictments, and that nothing in the indictment suggested the hacking changed the election results.

And he warned people to avoid speculation about the ongoing Mueller probe.

“I want to caution you, the people who speculate about federal investigations usually do not know all of the relevant facts. We do not try cases on television or in congressional hearings,” he said.

“Most anonymous leaks are not from the government officials who are actually conducting these investigations. We follow the rule of law, which means that we follow procedures and we reserve judgment,” he continued.

“We complete our investigations, and we evaluate all of the relevant evidence before we reach any conclusion. That is how the American people expect their Department of Justice to operate, and that is how our department is going to operate.“

Rosenstein said he briefed President Trump — who was meeting with Queen Elizabeth at Windsor Castle as the indictments were announced — on the case earlier in the week.

Asked about Trump’s charge earlier Friday that special counsel Robert Mueller’s probe was a “witch hunt,” Rosenstein did not directly respond.

“With regard to the nature of the investigation, I only comment on the evidence. The evidence is reflected in our indictments and in our charges [and] represents a determination by prosecutors and agents without regard to politics that we believe the evidence is sufficient to justify the charges,” he said.

The White House said later that nothing in the indictment suggested any impropriety by anyone connected to the campaign or president.

“There is no allegation in this indictment that Americans knew that they were corresponding with Russians. There is no allegation in this indictment that any American citizen committed a crime. There is no allegation that the conspiracy changed the vote count or affected any election result,” spokeswoman Lindsay Walters said.

“Today’s charges include no allegations of knowing involvement by anyone on the campaign and no allegations that the alleged hacking affected the election result. This is consistent with what we have been saying all along.”

The bombshell came a day after GOP lawmakers spent hours trying to discredit Mueller’s probe by attacking FBI agent Peter Strzok, whose anti-Trump text messages with his FBI colleague and then-lover Lisa Page were cited as evidence of a tainted investigation.

Trump’s latest “witch hunt” comment came days before his meeting with Putin.

Rosenstein supervises Mueller’s investigation into Russian meddling in the 2016 US election and ties to Trump’s campaign.

He has been a frequent target of the commander-in-chief, who has consistently attacked Mueller’s investigation as “fake news,” “a hoax” and a “witch hunt” cooked up by Democrats as an excuse for Clinton’s election defeat.

In February, Rosenstein called a surprise news conference to announce the indictment of 13 Russian nationals and a Kremlin-linked internet company for alleged meddling in the election.

To date, Mueller’s probe has netted five guilty pleas, including from Trump’s ex-national security adviser, Michael Flynn, along with more than 30 indictments, including the president’s former campaign chairman, Paul Manafort.