(CNN) -- In Tennessee, a new mother, 26-year-old Mallory Loyola, has been arrested after her newborn tested positive for meth.

State officials say she is the first to be charged under a new law that makes it illegal for a pregnant woman to use or give birth to a child addicted to or harmed by a narcotic drug.

Mallory Loyola's mother did not want to speak with us, so we talked to her neighbor and high school classmate.

"It's heartbreaking. You don't want to bring a child into any kind of danger," said neighbor Kayla Guthrie.

Guthrie, a new mom herself, says she planned to take some of her daughter's things over to Loyola soon.

"The innocent babies, they're not choosing to do those things. You're the one that is in charge of taking care of your body to make sure the baby stays healthy," says Guthrie.

Monroe County Sheriff Bill Bivens says Mallory Loyola admitted to smoking meth just a few days before giving birth.

"Anytime anybody is addicted and they can't get off for their own child, their own flesh and blood, it's sad," said Sheriff Blivens.

He hopes this arrest will be a warning and maybe even a life-saver.

"Hopefully it will send a signal to other women who are pregnant and have a drug problem to seek help. That's what we want them to do," said Sheriff Blivens.

A judge set a $2,000 bond for Mallory Loyola, jail officials tell WBIR. She also has a court date set for later this month.

Loyola's charge is a misdemeanor. She could serve up to a year in jail.

Loyola has an arrest history with the Monroe County Sheriff's Office that dates back to August 2012. She's faced several charges of possession of methamphetamine and violation of probation and has spent some time behind bars.

Read or Share this story: http://on.wtsp.com/1m5mPtD