Former FBI agent Peter Strzok helped write the controversial letter to Congress sent by then-FBI Director James Comey James Brien ComeyDemocrats fear Russia interference could spoil bid to retake Senate Book: FBI sex crimes investigator helped trigger October 2016 public probe of Clinton emails Trump jabs at FBI director over testimony on Russia, antifa MORE announcing the reopening of the probe into Democratic presidential nominee Hillary Clinton Hillary Diane Rodham ClintonBiden leads Trump by 36 points nationally among Latinos: poll Democratic super PAC to hit Trump in battleground states over coronavirus deaths Battle lines drawn on precedent in Supreme Court fight MORE, according to emails obtained by CNN.

Strzok, who in 2016 sent dozens of anti-Trump text messages in what conservatives have called clear evidence of bias, co-wrote the first draft of the letter but was unsure about reopening the investigation so close to the election, sources told CNN in a report published Wednesday.

The day after Strzok sent his draft to colleagues, Comey released the final version of the letter, bringing Clinton's emails back into the spotlight just weeks before Election Day.

ADVERTISEMENT

Comey reopened the investigation that October, when thousands of emails of Clinton's surfaced on the laptop of former aide Huma Abedin's husband Anthony Weiner in a separate investigation.

Clinton and top Democrats have said the letter was a key factor in her election loss to President Trump Donald John TrumpBiden leads Trump by 36 points nationally among Latinos: poll Trump dismisses climate change role in fires, says Newsom needs to manage forest better Jimmy Kimmel hits Trump for rallies while hosting Emmy Awards MORE.

Comey has said that it made him "mildly nauseous" to think that reopening the Clinton probe may have swayed the election, but that he would have made the same decision again.

Strzok later went on to work on the Justice Department's probe into possible collusion between the Trump campaign and Russia, but was removed by special counsel Robert Mueller Robert (Bob) MuellerCNN's Toobin warns McCabe is in 'perilous condition' with emboldened Trump CNN anchor rips Trump over Stone while evoking Clinton-Lynch tarmac meeting The Hill's 12:30 Report: New Hampshire fallout MORE after the politically charged texts he exchanged with an FBI lawyer were revealed.

Trump and congressional Republicans say the texts are evidence that the probe into the Trump campaign is biased, while Democrats say they are trying to undercut Mueller's credibility.

Trump accused Strzok of "treason" in a Wall Street Journal interview earlier this month.

Strzok also reportedly edited a key line in Comey's statement in July 2016 originally announcing Clinton would face no charges over her "home brew" server. He changed the phrase "grossly negligent" to "extremely careless" in regards to her actions.