Mischa Barton settled her lawsuit against her ex-boyfriend, Jon Zacharias, who was shopping a sex tape he made with Mischa and nude pictures of her that he took, allegedly without her knowledge. Mischa and her lawyer, Lisa Bloom, appeared in front of a Los Angeles courthouse to declare victory. Under the settlement agreement, Jon agreed not to distribute any of the images and to turn them over to Mischa, according to CBS Los Angeles. Lisa tweeted a picture with Mischa, saying, “COURT VICTORY today with Mischa Barton. Distribution of the explicit images banned, ex stays 100 yards away forever.”

“Today we have won an important agreement, which permanently blocks the dissemination of these images,” Lisa said in a statement to People. “All explicit photos and videos of Mischa must be handed over to me immediately. Her ex must stay 100 yards away from her today, tomorrow, and forever. And the court will retain jurisdiction over the case in case we need further enforcement.” She continued, “I am proud to declare victory for Mischa. She did this not just for herself, but for all women and girls. Mischa wants everyone to know that we have the right to control our own bodies and decide whether or not to have explicit photos out there for the world to see. If a woman wants to do that, fine. If she doesn’t, fine. The choice is hers and hers alone.” Back when the rumors were circulating about the sex tape, in March, Mischa said in a statement that her “worst fear was realised when I learned that someone I thought I loved and trusted was filming my most intimate and private moments, without my consent with hidden cameras.”