DALLAS -- A Dallas woman accused of throwing her two children from a freeway overpass and then jumping off the 20-foot-high span has been found not guilty by reason of insanity.

A judge in Dallas ruled Thursday in the trial of Khandi Busby, who was charged with attempted murder and injury to a child. The judge then ordered her to spend roughly 30 days in a state mental institution, MyFoxDFW.com reports.

Investigators say the boys were ages 6 and 8 when they were injured after being thrown from the highway overpass on March 12, 2008. They were treated and placed in foster care, where they remain.

Defense attorney David Pire says Busby felt God had told her to throw her sons off the bridge to protect them from Satan.

Relatives say Busby is bipolar and had stopped taking her medication.