The NYPD has busted three men, including a reputed Crips gang member on probation, in connection with the caught-on-video water-dousing of cops in Harlem and Brooklyn, law enforcement sources told The Post on Wednesday.

Gangbanger Courtney “Killer Court” Thompson, 28, of the Crips subset “Fresh Gangstas” surrendered Wednesday morning at the 73rd Precinct stationhouse for his alleged involvement in the Brownsville drenching incident, sources said.

Thompson, a Brownsville resident, was hit with charges of obstruction of governmental administration, criminal nuisance, criminal tampering, disorderly conduct and harassment, police said.

He has more than 20 prior arrests on his record, including for assault, said sources, who noted that most of the busts are sealed.

Thompson has been on probation since 2018 in connection with a 2015 robbery bust, according to sources.

NYPD Chief of Department Terence Monahan tweeted about Wednesday’s arrest, but did not name the suspect.

“Actions like we’ve seen in videos recently will NEVER be tolerated in this city. YOU WILL BE ARRESTED,” Monahan said in the tweet.

NYPD Chief of Detectives Dermot Shea also tweeted about the arrest, and included a screenshot of the suspect showing him tossing a blue bucket of water on a cop.

Two other suspects were taken into custody at the 28th Precinct stationhouse Wednesday in connection with a similar incident in Harlem, where uniformed officers were captured on video getting soaked with buckets of water while making an arrest, sources said.

Both of the weekend incidents, which were caught on camera and were widely circulated on social media, show buckets of water being thrown at cops.

The Harlem incident, in which two cops were soaked while they were handcuffing a suspect on the hood of a black car, happened at West 115th Street and Seventh Avenue on Sunday, sources said.

Isaiah Scott, 23, of Roebling, New Jersey, was identified as one of the two nabbed in connection with the Harlem incident, but “he was not arrested for anything to do with the cops,” police sources said.

Sources say Scott poured water on a female civilian and was charged with criminal mischief for damaging her cellphone.

He was not involved in any of the actions against the police, according to sources.

Chad Bowden, 28, was charged with criminal mischief, two counts of harassment and disorderly conduct for the incident involving the woman, police sources said.

Footage of the Brooklyn incident, which happened Saturday on East New York Avenue, shows two cops in totally wet uniforms walking away as even more water is flung at them.

At one point in that clip, Thompson allegedly can be seen dumping a full blue bucket of water on the back of one of the cops, who continues to walk away.

The water incidents sparked mass outrage among Big Apple dignitaries, NYPD brass and department unions, and even Vice President Mike Pence, who tweeted about the matter Tuesday.

“This conduct is disgraceful. President @realDonaldTrump and I will ALWAYS stand with the brave men & women of our law enforcement who serve on the thin blue line everyday. #StandWithNYPD,” Pence said in the tweet.