A settlement agreement has been reached on the eve of a second trial pitting the Kardashian family against former reality TV star Blac Chyna.

Rob Kardashian testified Wednesday that he feared for his life on a night in 2016 when his then-fiancée Blac Chyna pointed a gun at his head, pulled a phone-charging cable around his neck and repeatedly hit him with a metal rod while under the influence of substances.

Kylie Jenner testified Monday that she expressed concerns to her brother Rob Kardashian about his new girlfriend and soon-to-be reality TV co-star Blac Chyna, because she had heard Chyna had a tendency to abuse drugs and alcohol and become violent and had gotten a possible glimpse of it herself.