A U.S. judge on Monday ordered the unsealing of the application used to obtain a search warrant that allowed the FBI to gain access to emails related to Democratic presidential nominee Hillary Clinton's private server before the Nov. 8 election.

U.S. District Judge Kevin Castel in Manhattan directed the release by Tuesday of redacted materials used to obtain a search warrant after Federal Bureau of Investigation Director James Comey informed Congress of newly discovered emails on Oct. 28.

Comey's letter drew new attention to a damaging issue for Clinton, the Democratic presidential nominee, and roiled the campaign 11 days before the Nov. 8 election, won by Republican Donald Trump.