Her wedding was the subject of a reality TV show—and now Bethenny Frankel’s divorce and bitter battle for custody is proving to be just as dramatic.

More than a year after announcing their separation, the Skinnygirl mogul faced off in court with her estranged husband, Jason Hoppy, and shared the intimate and horrific details of their marriage in an effort to gain custody of their 4-year-old daughter, Bryn.

Bethenny testified, telling the court she hoped they could have a civil relationship—but quickly realized that wasn’t possible after his harsh reaction to her decision to dissolve their marriage.

Bethenny Frankel, Kim Kardashian and More! See Reality TV’s Biggest Earners!

“He said, ‘You’re dead to me. I want nothing to do with you. You think I want to be with you on the holidays? You’re a piece of s–t. You’re garbage. You have no idea what I’ve got on you,’” she said, fighting tears on the stand.

The Real Housewives alum also said Jason mocked her age and her appearance, saying, “Is this what 43 looks like? You’re disgusting. You’re gross.”

bethenny & jason wedding

She went on to explain his vicious psychological attacks continued, even when the estranged couple weren’t physically together.

“He would take bad press about me and put it on the counter,” she testified. She added he “would pee and poop and leave in in the toilet.”

Bethenny Frankel Talks Dating and Feeling “Edited” and “Controlled” By the Producers of Her Talk Show

Bethenny claimed her husband got their daughter involved as their feuding escalated.

“He would say things [to Bryn] like, ‘Mommy should be Ursula the witch. She’s a great witch. You be the princess, I’ll be the prince, Mommy will be the witch.’”

The custody trial is set to resume on June 11.