Notorious pedophile Jeffrey Epstein on Tuesday settled a highly anticipated malicious-prosecution suit brought against him by the lawyer for dozens of his child victims.

The deal includes an undisclosed cash payment to the lawyer, Bradley Edwards, as well as a public apology, according to the Miami Herald.

“While Mr. Edwards was representing clients against me, I filed a lawsuit against him in which I made allegations about him that the evidence conclusively proves were absolutely false,” Epstein said in a prepared statement.

“The truth was that his aggressive investigation and litigation style was highly effective and therefore troublesome to me.”

“I sincerely apologize for the false and hurtful allegations I made and hope [for] some forgiveness for my acknowledgment of wrongdoing.”

Edwards counter-sued Epstein over the suit Epstein filed, and Tuesday’s settlement came a day before that case was set to go to trial in West Palm Beach, Fla.

It would have given Epstein’s accusers the chance to finally confront Epstein in court and detail their allegations against him.

Edwards said he remained committed to having the now-grown women testify in a related case that seeks to void the controversial non-prosecution agreement that Epstein — a former money manager whose pals once included President Trump, former President Bill Clinton and Britain’s Prince Andrew — struck with the feds.

That deal let Epstein plead guilty to a pair of prostitution charges — one involving a minor — for which he served just 13 months in jail.