On the eve of a second trial pitting the Kardashian family against former reality TV star Blac Chyna, a settlement deal has been reached.

In the trial over Chyna’s claims that her ex-boyfriend Rob Kardashian purposefully released nude images of her in 2017 following their turbulent separation, jury selection was scheduled to start on Monday. However, according to court records, the parties told the judge that they had reached a settlement.

Emails asking for comment and specifics on the settlement’s conditions were not immediately answered by the lawyers for either side.

After the judge last week refused Kardashian’s attorneys’ request to enforce a settlement agreement they claimed the two parties had struck, a trial had almost looked inevitable.

The defamation trial earlier this year in which Chyna, whose real name is Angela White, claimed that Kris Jenner, Kim Kardashian, Khloé Kardashian, and Kylie Jenner had portrayed her as aggressive and unstable led to the cancellation of her reality show, Rob & Chyna, was to be somewhat of a follow-up.

May 2 was a decisive victory for the Kardashians in that trial. Despite being in New York for the Met Gala when the decision was read, all four of the women testified and had been present for the majority of the proceedings.

Although Rob Kardashian, who shares a daughter with Chyna, was not a defendant in that case, he offered emotional testimony about the late-night argument that caused their relationship to stop.

Chyna had initially sued the entire family as a group, but the judge decided that the allegations against Rob, which included included assault claims, should be the subject of a separate trial. Only Rob and Kris Kardashian were anticipated to testify during the second trial, and fewer members of the famous family were anticipated to attend.

At the first trial, the jury concluded that the Kardashians had acted dishonestly when they discussed the problems of the couple with Rob & Chyna’s producers and E! network executives. She was not given any compensation because it was determined that it had no significant impact on Chyna’s contract or the future of the program.

After the verdict, Chyna’s lawyer Lynne Ciani said that although she and her client were disappointed, they felt vindicated by the jury’s findings, which they said proved that Chyna had not physically abused Rob and supported their contention that the Kardashian women had tried to sabotage her agreement to appear on the show.