Judge Terrence McGann has ruled that Zakieya Avery is not criminally responsible for the deaths of her two children and will be sent to a psychiatric hospital instead of prison.
Avery plead guilty on Monday to two counts of first-degree murder and two counts of attempted first-degree murder.
Zakieya Avery pleaded guilty to killing her two children and injuring her two other children.
Avery, known as both the "exorcism killer" and "demon assassin," and another woman, Monifa Sanford, were indicted in March 2014 on two counts of first-degree murder in the deaths of Avery's 18-month-old son and 2-year-old daughter in January at a home in Germantown, Md.
The two were also indicted on two counts of attempted first-degree murder in an attack on Avery's 5-year-old daughter and 8-year-old son.
Sanford pleaded guilty to two counts of first-degree murder and two counts of attempted first-degree murder in 2015.
Prosecutors said both women told them they believed an exorcism was needed to drive demons out.
'Prepared children to see God'
The women also reported seeing the eyes of each of the children blackening, and after the intended exorcism took a shower, cleaned up the scene and "prepared the children to see God," Montgomery County State's Attorney John McCarthy said.
Avery's two oldest children, a 5-year-old girl and an 8-year-old boy, were found injured with stab wounds. Police said that had a neighbor not called police, they might have died too.
If found guilty, Avery could face up to four life sentences.
Mental institution instead of prison?
Under her plea agreement, Sanford was found not criminally responsible and was to be committed to a psychiatric hospital for an "undetermined amount of time."
Defense attorneys for Avery likely intend to argue insanity. If found mentally insane, Avery would be put into a mental institution instead of a prison.