A mother has been charged with murder after her 2-year-old child was killed inside a home in Frankfort, Illinois.

Police said Corie Walsh, 38, was charged with three counts of first-degree murder.

corie-walsh-mug.jpg

Corie Walsh

Will County Sheriff’s Office

Police said Walsh is in custody and was in the hospital for medical treatment. Friday afternoon she was transferred to the Will County Adult Detention Facility ahead of her detention hearing.

Frankfort police said officers were called to a home in the 22700 block of Brook Stone Court around 4 p.m. Tuesday after a 17-year-old neighbor called 911 for help.

When they arrived, officers found a 2-year-old being given CPR by the teenager. The toddler was taken to a local hospital, where they were later pronounced dead.

The neighbor also told police she found Walsh in the bathroom harming herself.

Prosecutors said Walsh was in a group text talking about the Lindsay Clancy murder case just hours before killing her son. They said Walsh said she killed her son because he was the devel and Antichrist.

Another infant child was inside the home and not hurt, police said. Two other kids came home from school around the time police arrived. Their father was out of state at the time.

Walsh remains in custody at the Will County Jail. Her first court appearance is scheduled for Tuesday, Sept. 8.

The exact circumstances surrounding the toddler’s death were not immediately known. The Will County Coroner’s Office said they performed an autopsy Wednesday and the child’s death was the result of an apparent homicide, though the final manner and cause of death are pending toxicology and further investigation.

The Illinois Department of Child and Family Services told CBS News Chicago they have not had prior contact with the family until Tuesday. The agency said they are now involved in the investigation.

More from CBS News