Update: New York City police have arrested a 28-year-old suspect who is accused of dousing officers with water.

The New York Police Department (NYPD) said Tuesday that one person is being questioned in connection with a viral video of police officers being doused with water while responding to calls. The videos caused widespread outrage in the city and online.

One video, taken in Harlem over the weekend, shows two officers being doused with water and pelted with empty buckets while making an arrest.

Get Breaking News Delivered to Your Inbox

NYPD Chief Terrence Monahan responded to the incident on Twitter. "The videos of cops being doused with water and having objects hurled at them as they made an arrest in #Harlem is reprehensible," Monahan wrote. "NYC's cops & communities have made remarkable progress — together — but EVERY New Yorker MUST show respect for our cops. They deserve nothing less."

The videos of cops being doused with water and having objects hurled at them as they made an arrest in #Harlem is reprehensible. NYC’s cops & communities have made remarkable progress — together — but EVERY New Yorker MUST show respect for our cops. They deserve nothing less. pic.twitter.com/mPtPPbUSGZ — Chief Terence Monahan (@NYPDChiefofDept) July 22, 2019

Another video, taken in Brooklyn on Saturday and posted on Instagram Monday, shows two drenched officers walking away from a group of people, who follow them and continue to pour buckets of water over the officers' heads. The officers involved in the incident were responding to a call about a disorderly conduct, CBS New York reports.

Mayor Bill de Blasio also responded to the incidents on Monday night. "Throwing things at NYPD officers is not only not acceptable, it can lead to charges. All of those actions can lead to charges," he said, according to CBS New York.

The NYPD on Tuesday released photos of three people wanted for questioning in connection to the incidents. It's unclear if the person being questioned Tuesday night was one of those three.