PATCHOGUE, N.Y. (PIX11) — A Long Island woman was arrested for allegedly driving under the influence of drugs after her 2-year-old daughter was found walking on the side of Sunrise Highway in Patchogue early Sunday morning, police said.

Anna Heinecker, 32, was driving eastbound on Sunrise Highway Service Road at around 12:40 a.m. when she pulled over near Meadow Wood Drive because she began feeling sick, police said. Heinecker then passed out after unbuckling her child from the car seat, leaving the girl to wander off, police said. A motorist found the toddler walking on Sunrise Highway Service Road, according to authorities.

Authorities found the unconscious mom in her car and revived her with Narcan, according to police. Heinecker was treated at a local hospital before she was taken into police custody and charged with aggravated driving while intoxicated with a child passenger 15 years old or younger, operating a motor vehicle while impaired by drugs, and acting in a manner to injure a child, police said.

The girl was also checked out at the hospital and authorities called Child Protective Services.