STATEN ISLAND, N.Y. -- His criminal case has gone down the toilet - literally.

A prisoner shoved an unknown object into the toilet in a holding cell in the 120th Precinct stationhouse on Wednesday, flooding several holding cells and forcing them to be shut down for a time, prosecutors said.

Richie Negron, 21, of the 1400 block of Amsterdam Avenue in Bulls Head, had been picked up on a warrant and brought to the precinct in St. George, said a law enforcement source.

The source had no further details on the warrant.

Negron apparently wasn't happy with his new digs and clogged the toilet around 12:30 p.m., prosecutors allege.

His further demonstrated his displeasure by flailing his arms when cops went to handcuff him to move him to another cell, said a criminal complaint.

The defendant was charged with misdemeanor counts of criminal mischief and obstructing governmental administration.

He was arraigned Thursday in Criminal Court and released under supervision, online state court records show.

Negron must return to court on Nov. 29.