More than 40 charges were dropped Wednesday against former NYPD detectives accused of raping a woman after a traffic stop in Brooklyn in 2017.

The Brooklyn district attorney's office asked the judge to drop charge that included rape, sexual abuse, sexual misconduct, and kidnapping. The detectives now face a new indictment on bribery and official misconduct.

The woman, who goes by the name Anna Chambers on social media, said Richard Hall and Eddie Martins detained her after a traffic stop in Gravesend in September 2017 for having marijuana. She said the officers handcuffed her and then brought her to a nearby parking lot, where they allegedly raped her inside their police van. Chambers was 18 at the time.

The district attorney's office said it could not move forward with the rape case because of inconsistencies in Chambers's story over the past year.

The DA's office said there is DNA evidence in the case, bodily fluids from the former detectives.

Chambers had filed a lawsuit against the pair, as well as the city and the NYPD.

Martins and Hall both pleaded not guilty to rape charges in October and later resigned from the NYPD.

The former detectives' defense team said Martins and Hall did nothing wrong or illegal that day.

"The DA's office finally has vetted those claims and has determined they're not true. As far as the remaining evidence, we'll deal with that," defense attorney Mark Bederow said.

Chambers, who has been outspoken about the case on social media, did not appear in court Wednesday. Her lawyer, Michael David, said she was outraged and depressed by the situation but maintained her validity of her claims.

"There's the physical evidence of the DNA. When you're in a police van — that's not denied that she was taken into that van. She was in that van, that was 100 percent. There's DNA evidence. That is 100 percent," David said.

At the time of the alleged rape, it was not illegal for NYPD officers to have sex with someone in their custody, but state lawmakers have since passed a law prohibiting that in response to the case.