The case should have been clear-cut from the moment a hospital rape kit found semen matching Martins’s and Hall’s DNA inside Chambers (who has used a pseudonym throughout her ordeal to protect her privacy). When the two cops, who have since been fired, claimed that the sex with the detained teenager had been consensual, it beggared belief and revealed a chilling loophole in the New York penal code. At the time, state law did not assert the most obvious of facts: that a person in police custody cannot consent to sex. But, owing to Anna Chambers’s case, the law has since been rightly changed .

Anna Chambers could not consent to sex when, in September 2017, the then-18-year-old was arrested, handcuffed, and taken into the unmarked van of New York Police Department detectives Richard Hall and Edward Martins.

“It’s disgusting. They were cops, they raped her, and they’re getting away with it. Look at the message this sends to the public.”

On Wednesday, the Brooklyn district attorney tasked with prosecuting the former officers dropped all the rape charges, as well as those for other sexual crimes. That means the cops, Hall and Martins, will face trial only for official misconduct and bribery for the rape of Anna Chambers. Following the flawed letter of an outdated penal code, the prosecutors chose police impunity over justice.

“It’s disgusting,” Chambers’s attorney Michael David told The Intercept on Wednesday night. “They were cops, they raped her, and they’re getting away with it. Look at the message this sends to the public.”

Chambers’s ordeal with the legal system represents every sexual assault victim’s worst fears. From the moment her case became public, tabloids highlighted social media photos in which Chambers appeared scantily clad and questioned her character. In court, her every word was dissected and her credibility continuously questioned. All this despite the fact that in this case, her testimony should have been largely irrelevant, given the DNA evidence and the defendants’ own admissions that they had committed sex acts with a detained teen. “They twisted everything she said in order to shame and smear her,” David said.

Last March, specifically in response to outcry over Chambers’s case, the New York State Senate unanimously passed a bill stating that when a person is “under arrest, detention, or otherwise in actual custody” by a police officer or other law enforcement official, that person is incapable of consenting to a sexual encounter. That is, under the current law, Hall and Martins’s admission would amount to an admission of rape.

In a statement on dropping the charges, the Brooklyn District Attorney’s Office agreed that such sexual conduct should be a crime, but noted “that was not the law at the time of the incident.” The prosecutors added, “Because of this and because of unforeseen and serious credibility issues that arose over the past year and our ethical obligations under the rules of professional conduct, we are precluded from proceeding with the rape charges.”

Anna Chambers will herself receive no justice from the law she helped fix by speaking out. “Everything we feared could play out in this case seems to be playing out,” New York City Council Member Mark Treyger told The Intercept. Treyger, upon hearing of Chambers’s case, was the first public official to call for a change in state legislation. “It’s a dark and tragic day for our justice system. I deeply worry about the chilling effect on other sexual assault victims, especially when it comes to law enforcement.”

Treyger told The Intercept that he plans to speak with city council leadership and members of the state legislature to investigate what additional steps might be possible to take in light of what he called a “sickening decision” on the part of prosecutors. “At the very least,” he said, “we need to raise awareness, to tell victims like Anna Chambers that many people do stand with them.”