A Baltimore police officer quit Sunday after a video of him repeatedly slugging a suspect in the face went viral, cops said.

In the video posted online Saturday, an unidentified officer can be seen pushing and then wailing on a suspect who doesn’t appear to fight back.

The officer had originally been suspended over the incident.

“I’m deeply disturbed by the video that surfaced online,” interim Police Commissioner Garry Tuggle said in a statement Saturday.

“The officer involved has been suspended while we investigate the totality of this incident. Part of our investigation will be reviewing body worn camera footage.”

On Sunday, Baltimore police said the officer had resigned.

“The officer involved in yesterday’s incident is no longer with the Baltimore Police Department. Interim Commissioner Tuggle has accepted his resignation,” the statement said.

A lawyer for the man who was beaten said the suspect faces charges of assaulting an officer from an incident in June.

“He is charged with assaulting that officer then, and so here this officer now is like, you know, going after him,” said the lawyer, Warren Brown.

With wires