A Clarkfield woman who reportedly pulled a gun during a police interview voluntarily agreed to a civil commitment for mental illness during a closed hearing Friday, her attorney said.

Kelly Jean Anderson-Person, 34, could be held for up to six months, said the attorney, Theresa Patock. The order issued by District Judge Thomas Van Hon also leaves open the possibility of an additional six months of commitment, according to Patock and assistant Yellow Medicine County attorneys Amanda Sieling and Stacy Vinberg.

Anderson-Person was transported to a facility in Annandale after the hearing, which was closed to the public. A report to be filed from the hearing won’t be released to the public by order of the judge, according to court personnel.

Anderson-Person allegedly tried to commit suicide in her Clarkfield home Aug. 13. She had pulled a handgun from under a couch cushion and pointed it at her head while holding her 9-month-old child as South Dakota investigators questioned her about the remains of two newborns found in November in South Dakota’s Deuel County. The investigators wrestled the gun from her and it discharged into the ceiling.

Anderson-Person has told authorities she gave birth to the infants whose remains had been recovered, court documents say. No criminal charges have been filed.