Model Christie Brinkley has reached an agreement with her ex-husband Peter Cook just hours before their bitter custody trial was due to go to court.
The couple divorced six years ago after Cook admitted he'd an affair with an 18-year-old woman.
But the war over their children continued to be nasty and Brinkley filed a lawsuit against Cook claiming he had sent "aggressive emails" to her and failed to pay child support.
"I finally won the right to establish boundaries with provisions such as an intermediary to deal with email bullying, verbal and emotional abuse," Brinkley wrote on her Facebook page on Monday.
"It has been an odyssey of frustration as I have navigated the court system with one goal to find peace and protection for my family from the various forms of abuse at the hands of a narcissist."
Cook married his new wife, Suzanne Shaw, in February.
Brinkley is best known for her three consecutive appearances on the cover of the Sports Illustrated swimsuit issue in the late 1970s and early 1980s and for her long-running contract with CoverGirl.
Brinkley was previously married to singer Billy Joel. Cook, whom she married in 1996, was her fourth husband.