One person is in police custody after authorities said he threw buckets of water on police officers in New York City.

NYPD officials told CNN Tuesday charges were pending against the man they said was seen in cellphone video throwing water on the officers.

Multiple videos circulating on social media showing water being thrown on officers during a heatwave in the city, WABC reported.

>> Read more trending news

One video showed an incident in Harlem recorded on Sunday. Police were handcuffing a man when five men threw water on the officers. One person is then seen throwing an empty bucket, hitting an officer in the head, CNN reported.

NYPD officials said the officer who was hit by the bucket "suffered pain and swelling to the back of his head," according to CNN.

One man was arrested in that case and a second was expected to turn himself in, WABC reported.

Stills of the men were posted by NYPD police chief Dermot Shea, with a request for information that could lead to the men. Police Commissioner James O'Neill vowed that "we'll never accept such disrespect."

A second video shows officers with wet uniforms walking away from someone who was blocked from view and a man running up to them and pouring a bucket of water on them in Brooklyn. The day that video was recorded has not been released, CNN reported.

But WABC reported that one person in the Brooklyn case surrendered to detectives.

And while the officers in question walked away from that situation, CNN and WABC reported an internal memo says that charges can be filed including charges of obstructing governmental administration, criminal tampering, harassment and disorderly conduct.

If an officer is injured the charges could include assault, the memo spelled out according to CNN.

The president of the Sergeants Benevolent Association said that while these cases involved only water, there "could just as easily have been bleach, gasoline, or some other toxic substance," in the buckets, WABC reported.