A Baltimore cop was suspended with pay Saturday after a viral video showed him beating a man to the ground.

Two officers had stopped a man, later identified as Dashawn McGrier, 26, on Saturday, Baltimore’s FOX 45 reported, citing information from police. The officers let McGrier go before approaching him again, the department said.

In the video, an officer is seen pushing McGrier up against a wall. McGrier appears to push the officer’s hand away. The officer then repeatedly punches McGrier, who does not appear to strike back. The punches continue until McGrier lands onto row house steps before finally falling to the pavement. The officer then pins McGrier down.

Warren Brown, McGrier’s attorney, said his client had previously interacted with the same cop in June, which resulted in McGrier being charged with assaulting the officer, disorderly conduct, and resisting arrest. Brown accused the cop, whom he identified as officer Arthur Williams, of unfairly targeting McGrier in both incidents.

Interim Police Commissioner Gary Tuggle said he was “deeply disturbed” by the incident, and the officer seen throwing punches was quickly suspended. The Baltimore Department tweeted late Sunday that the officer resigned.