A New York judge has dismissed 10 of the 13 claims filed by Blake Lively against Justin Baldoni, stemming from their collaboration on the film It Ends With Us. The lawsuit, which included allegations of sexual harassment, was initiated by the actress and director but was largely thrown out after the court determined that the sexual harassment claims lacked a “substantial connection.”

In a detailed statement, the judge noted the ongoing disputes between the parties over the nature of the backlash against Lively. “The parties fiercely dispute the extent to which the backlash against Lively was ‘organic’ or ‘artificial,’ and which steps the Wayfarer Parties may have taken to protect themselves versus which ones they may have taken to destroy Lively personally and her career. A jury can and should decide those questions,” the court wrote.

Despite the partial dismissal, Lively’s legal team emphasized that the actress remains committed to pursuing the case. Sigrid McCawley, Lively’s attorney, told E! that the lawsuit will move forward on the remaining claims.

“This case has always been and will remain focused on the devastating retaliation and the extraordinary steps the defendants took to destroy Blake Lively’s reputation because she stood up for safety on the set,” McCawley said. “That is the case that is going to trial. For Blake Lively, the greatest measure of justice is that the people and the playbook behind these coordinated digital attacks have been exposed and are already being held accountable by other women they’ve targeted. She looks forward to testifying at trial and continuing to shine a light on this vicious form of online retaliation so that it becomes easier to detect and fight.”

The ruling marks a significant narrowing of the claims but leaves the central issues regarding alleged retaliation and professional sabotage to be resolved before a jury.