A plea agreement with financier and sex offender Jeffrey Epstein that Labor Secretary Alexander Acosta had a part in when he was a U.S.attorney violated federal law, a judge ruled Thursday.

Officials with Acosta’s office and the White House had not responded to requests for comment at the time this story was published.

Florida-based U.S. District Judge Kenneth A. Marra said he reviewed evidence showing that Epstein sexually abused more than 30 underage girls at his Palm Beach mansion and elsewhere.

“In addition to his own sexual abuse of the victims, Epstein directed other persons to abuse the girls sexually,” the judge wrote. “Epstein used paid employees to find and bring minor girls to him.”

The judge said Acosta — then the U.S. attorney in Miami — helped Epstein negotiate a non-prosecution agreement, but violated federal law by not properly informing victims about what they were doing.