A Manhattan federal judge on Wednesday ordered U.S. prosecutors to release unredacted search warrants from an investigation into hush-money payments Michael Cohen made to adult-film actress Stephanie Clifford ahead of the 2016 presidential election.

U.S. District Judge William Pauley III of the Southern District of New York said a government probe of alleged campaign-finance violations associated with the payments to Clifford, who performed under the name Stormy Daniels—made on behalf of President Donald Trump—had concluded, and that “the weighty public ramifications of the conduct” justified public disclosure.

“The campaign finance violations discussed in the materials are a matter of national importance. Now that the government's investigation into those violations has concluded, it is time that every American has an opportunity to scrutinize the materials,” Pauley wrote.

The filings were expected to be posted publicly Thursday morning.