When a naked man, high on drugs, attacked a mom strolling her 9-month-old, neighbors took matters into their own hands – and fists.

As NBC10 in Philly reports, it happened Monday evening in Atlantic City, N.J., where the suspect, Stephon Whitfield, approached a woman strolling her 9-month-old, police say.

Whitfield, who was naked and acting very aggressively, began to attack the infant, lifting the boy out of his stroller and slamming him back down, according to a criminal complaint obtained by NBC10.

But what happens next likely saved the child from further injury:

NBC10 reports neighbors along Caspian Avenue near South Carolina Avenue swung into action, leaving Whitfield bloodied and beaten -- and the mom and baby safe -- by the time responding police officers arrived on scene.

A video captured much of the action, and NBC10 writes that it shows residents pulling a man, who police identified as Whitfield, off of the baby. Another man then kicks and punches Whitfield repeatedly.

When the officers arrived around 9:20 p.m., police tell NBC10 they found 28-year-old Whitfield “naked, yelling and bleeding.”

Whitfield now faces aggravated assault, child endangerment and disorderly conduct charges.

The baby was treated for non-life-threatening scratches, bruising and swelling to his mouth and face, police said. One of the boy's teeth was displaced, according to NBC10.

(Story continues below)

A naked man, who police at the Jersey Shore say was under the influence of drugs, is accused of assaulting a baby boy being strolled by his mother. https://t.co/VHzBm2Nprz — NBC10 Philadelphia (@NBCPhiladelphia) May 7, 2019

Witnesses told responding officers that Whitfield was under the influence of PCP at the time, the criminal complaint said.

A medical evaluation showed Whitfield suffered noticeable facial injuries, including a swollen left eye.