NEW YORK (CBSNewYork/AP) — A federal judge in New York has ordered the public release of the search warrant that FBI agents used to reopen their investigation of Hillary Clinton’s use of a private email server just weeks before the presidential election.

U.S. District Judge P. Kevin Castel ruled Monday that the public had a right to see the warrant, which was secretly filed with the court on Oct. 30.

READ MORE: 2 Tigers At Pittsburgh Zoo Test Positive For COVID-19

Agents used the warrant to get access to emails stored on a computer belonging to Anthony Weiner, the estranged husband of top Clinton aide Huma Abedin.

READ MORE: Rikers Island Federal Monitor Finds 'Conditions Have Progressively And Substantially Worsened'

The court documents will be unsealed at noon Tuesday, with portions blacked out to conceal the names of the agents and any information about an open investigation of Weiner’s online correspondence with a teenage girl.

MORE NEWS: NYC Business Owners Worry Vaccine Mandate Will Keep Tourists With Young Children Away: 'Just Hugely Problematic'

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)