Prince Andrew and his accuser Virginia Giuffre have reached an out-of-court settlement in the civil sex claim filed against him in the US.
In a letter submitted to the United States District Court on Tuesday, Giuffre's lawyer David Boies wrote jointly with Andrew's lawyers to say that the parties had "reached a settlement in principle".
Court documents show the Duke will make a "substantial donation to Ms Giuffre's charity in support of victims' rights".
Andrew has also pledged to "demonstrate his regret for his association with Epstein" by supporting the "fight against the evils of sex trafficking, and by supporting its victims".
Buckingham Palace has declined to comment.
Giuffre made the claim against Andrew for damages in her home country of the US, claiming she was trafficked by Jeffrey Epstein to have sex with the royal when she was 17, a minor under US law.
An attachment to the letter announcing the settlement gave brief details of the agreement between Andrew and Ms Giuffre but indicated the sum would not be disclosed.
"Virginia Giuffre and Prince Andrew have reached an out of court settlement," it read.
"The parties will file a stipulated dismissal upon Ms Giuffre's receipt of the settlement (the sum of which is not being disclosed).
"Prince Andrew intends to make a substantial donation to Ms. Giuffre's charity in support of victims' rights.
"Prince Andrew has never intended to malign Ms. Giuffre's character, and he accepts that she has suffered both as an established victim of abuse and as a result of unfair public attacks.
"It is known that Jeffrey Epstein trafficked countless young girls over many years.
"Prince Andrew regrets his association with Epstein, and commends the bravery of Ms Giuffre and other survivors in standing up for themselves and others.
"He pledges to demonstrate his regret for his association with Epstein by supporting the fight against the evils of sex trafficking, and by supporting its victims."
Responding to the settlement, Giuffre's lawyer David Boies said: "I believe this event speaks for itself."
At the time, Boies said his client and legal team were looking forward to "confronting" the royal about his "denials".
Representatives of the duke said they would not be commenting further than what was said in the documents submitted to the court.
Reporting by AAP and Reuters.
Never miss a thing. Sign up to Yahoo Lifestyle’s daily newsletter.
Or if you have a story idea, email us at firstname.lastname@example.org.