A 36-year-old woman accused of trying to kill herself and her fetus will not go to trial after reaching a plea agreement on Friday, WISH-TV reported.

Bei Bei Shuai agreed to plead guilty to a misdemeanor charge of criminal recklessness while prosecutors dropped murder and feticide charges against her stemming from a December 2010 suicide attempt in which she ingested rat poison while pregnant. The fetus died in January 2011, three days after being delivered.

"There's [been] a lot of regret, a lot of happiness, a lot of miserable moments," Shuai told WISH after her plea hearing.

As part of her plea agreement, Shuai's 89 days in jail were counted toward a 178-day jail sentence, with the other half of the sentence covered under time served. Shaui's trial was scheduled to begin on Sept. 3.

"From the beginning, I have been convinced that this case was not a criminal case," Shuai's attorney, Linda Pence, told the Indianapolis Star on Friday. "It should never have been filed."

Watch WISH's report on Shuai's plea deal, aired Friday, below.

Plea agreement reached in Shuai case