A giant anti-cop banner was draped on the Manhattan Bridge on Thursday targeting the NYPD and the two former city detectives accused of raping a Brooklyn teen, police sources said.

The black banner with white lettering read: “Martin & Hall aren’t the only rapists, abolish police,” referring to detectives Eddie Martins and Richard Hall, who resigned following their arrest.

Cops from Manhattan’s 5th Precinct quickly removed the banner at around 10:30 a.m. and brought it to the station house, according to sources.

No arrests have been made.

A group called Metropolitan Anarchist Coordinating Council appeared to take credit for the stunt on Twitter by posting two photos of the banner, which was draped the same morning the ex-cops appeared in court for the first time since their indictment, but the group told The Post the photos were submitted to it “anonymously.”

“UPDATE: the sun came up, the banner unfurled, we’re at the court,” the group tweeted with a photo of the banner on the Manhattan Bridge at 8:45 a.m.

More than an hour earlier, the group tweeted out a photo of the banner and asked supporters to go to Brooklyn Supreme Court where the hearing was being held “to demand the only solution to rapist police: NO MORE POLICE.”

A spokesperson for the group said: “The photos of the banner on the bridge were submitted anonymously. We were involved in planning the rally outside the court house.”

The cops named in the banner are accused of raping and sexually assaulting an 18-year-old woman, who goes by the alias Anna Chambers.

Chambers faced Martins and Hall on Thursday at the courthouse for the first time since the alleged Sept. 15 incident.

Supporters of Chambers from the anarchist group packed the courtroom and rallied outside of the courthouse before the proceeding, passing out pamphlets showing Photoshopped images of the ex-cops superimposed over an image of a painting in which a bare-breasted woman appears to be offering a severed head to a man.

The sex attack allegedly happened in the back of an unmarked police van in a Coney Island Chipotle parking lot while Martins and Hall were on duty.

The two resigned from the NYPD in November shortly after they were slapped with a 51-count indictment charging rape, sex assault, bribery, coercion and other charges. They have both pleaded “not guilty” to the charges.