WAUKEGAN, Ill. (AP) — A suburban Chicago man who, which his wife, is accused of confining their 10-year-old daughter to their basement has been found unfit for trial.

Lake County Assistant State’s Attorney George Pappas says 48-year-old Randy Swopes will be held in a secure treatment facility in Elgin for evaluation and treatment until he is found fit.

READ MORE: Police Respond To Shots Fired Call At Clark And Lake CTA Stop

Swopes and his wife, Katherine, are charged with child endangerment and unlawful restraint for keeping their daughter in a basement room for months. They claim they believed she was possessed by a demon.

RELATED: Son Defends Waukegan Couple Charged With Locking Daughter In Basement

READ MORE: Man Found Shot Dead Under Viaduct In Stony Island Park

At a fitness trial Tuesday, Dr. Kimberly Loucks of Psychological Services of Lake County said she conducted court-ordered jailhouse evaluations with Randy Swopes. Loucks testified despite his refusal to participate in certain tests, she saw enough to conclude Swopes suffers from delusions.

Swopes’ lawyers, Jason Powell and Sharmila Manak, moved for a directed finding that Swopes was unfit.

Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.

MORE NEWS: Four In Custody Following Domestic Incident 'Involving A Firearm' At Sky Zone In Orland Park