Police say a man high on synthetic marijuana smashed his way into a Pennsylvania day care facility and held a 5-year-old girl by the neck before a passer-by and police were able to rescue her.

Harrisburg police say 27-year-old Michael McQuay was charged with attempted homicide and other offenses for the attack at Growing Adventures Daycare on Wednesday evening.

Investigators say a man who thought something was wrong with McQuay followed him into the business and was trying to wrestle the girl away when police arrived and subdued McQuay with a stun gun.

Police say the girl wasn't hurt but told investigators she couldn't breathe while McQuay had her by her neck.

Court records don't list a defense attorney for McQuay.