A 1-year-old girl was attacked by a pit bull dog while her mother was high in drugs, local media reported Thursday. The incident took place on April 30 in Panama City Beach, Florida.

According to local police, the mother — identified as Cassie Anthony — left her child alone in the living room for almost an hour. During this time, the pet dog attacked the baby and reportedly bit her in the face. The child was rushed to a nearby hospital and her facial injuries were so severe that she required an immediate surgery.

Police, in its report, said Anthony was under the influence of an "illicit narcotic drug" during the attack. She was arrested and charged with neglect of a child with great bodily injuries. Details about the child's father remained unclear. It was also not revealed as to who had taken the custody of the toddler while the mother was in jail.

Anthony appeared in court Wednesday and her bail bond was set at $100,000. Local media released a mugshot of the accused mother.

On social media, several users blamed the mother for leaving the child alone, while some raised concerns over ferocious dog breeds, such as the pit bull, being close to toddlers.

"Should not have left the toddler alone with any dog. Who knows what that child might have done to provoke the dog? Even other breeds could be provoked," one user wrote on Facebook.

"You can’t leave a one year old alone for any reason for that long! So much even without a dog could happen!!!! An hour!!!! Just neglect charge??!!! Prayers for the sweet child. Now a baby, if it survives may be physically changed for life while the dog may face euthanasia and the mother? Neglect? How about child endangerment and more?!!" another user wrote.

pit bull
A pit bull in the menacing dogs area of the Henderson Animal Shelter in Auckland, New Zealand, July 27, 2016. Fiona Goodall/Getty Images