WikiLeaks' release of hacked emails did not affect the 2016 presidential election, says Mike Rogers, the Director of the National Security Agency.

"I don't think in the end [the DNC document dump] had the effect that [the hackers] had hoped it might," Rogers said Sunday during a panel discussion at the Halifax International Security Forum, according to The Hill.

WikiLeaks, a whistleblowing organization founded by Julian Assange, published thousands of emails from the account of Democratic nominee Hillary Clinton and her campaign manager, John Podesta. The correspondence showed Clinton's careless use of a private email server during her time as secretary of state, which resulted in an FBI investigation.

President-elect Donald Trump, who won the race in a surprising landslide, used much of that information as ammunition during his campaign against Clinton.

Sen. John McCain agreed with Rogers' assessment, saying "I do not think that the outcome of the election was impacted by Russian hacking," according to The Hill.

Rogers, whose name has been floated for a potential role in the Trump administration, also defended himself at the Forum after news reports swirled that he would be removed from his post because of the way he has handled the fight against ISIS.

"I am proud of the fact that under my watch we caught these individuals," Rogers said according to The Toronto Star. "Even as I remain accountable for the fact that they were there."