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.