Judge Berman in August had denied a previous justice department request to unseal the grand jury materials, saying he had concerns about “possible threats to victims’ safety and privacy”.

But in Wednesday’s ruling, he said the materials could now be released because of the Epstein Files Transparency Act, which was signed into law by US President Donald Trump last month.

The law requires the justice department to release investigative material related to Epstein by 19 December, including unclassified records, documents and communications.

It also allows the department to withhold files that involve active criminal investigations or raise privacy concerns.

Judge Berman said the victims have the right to “have their identity and privacy protected”, adding that their “safety and privacy are paramount”.