The mother of a murdered 2-year-old was set to be released from jail after serving less than two years for her role in covering up her daughter’s death. Rachelle Bond, the mother of “Baby Doe” Bella Bond, was scheduled to be sent to rehab to aid in her recovery from heroin addiction, a judge ordered Wednesday.

Bond, 41, pleaded guilty in February to being an accessory after the fact to her daughter’s murder. In a deal with the state, Bond agreed to testify against her boyfriend at the time, Michael McCarthy, in exchange for her freedom after the trial.

Read: Who Is Baby Doe’s Mother, Rachelle Bond?

Bond said she witnessed McCarthy, 37, murder Bella because she wouldn’t go to sleep. She said they both wrapped Bella’s body in trash bags and weighted them down before tossing the baby into the Boston Harbor. Bella was discovered weeks later but could not be identified and was dubbed “Baby Doe.”

It took three months for authorities to ascertain her identity.

McCarthy was convicted of second-degree murder in June and sentenced to life in prison.

“She doesn’t want to make a statement – ever,” her attorney, Janice Bassil said Wednesday, according to the Boston Herald. “She really doesn’t have family. She doesn’t have friends. People are very hostile towards her. She has nothing. She is scared about her future. And regardless of what people think about her involvement or not, she grieves the loss of that child every day.”

Throughout the trial, the defense and prosecution volleyed blame back and forth between Bond and McCarthy. Prosecutors argued McCarthy was obsessed with the occult and killed Bella because he thought she was a demon, while defense attorneys argued that it was Bond who was infatuated by the supernatural. Upon his conviction, McCarthy’s defense attorney called the decision a “travesty” of justice and said he would seek an appeal.

Suffolk Superior Court Judge Janet L. Sanders ordered Bond to be released to a drug rehab program, after which she would be released with two years’ probation. Public opposition to the deal and Bond’s release was widespread, but Suffolk District Attorney Daniel F. Conley defended the decision.

Read: What’s Next For Michael McCarthy After Baby Doe Murder Sentencing

“There would have been no prosecution of Michael McCarthy without the cooperation agreement that we made with Rachelle Bond to secure her testimony,” Conley said Wednesday. “You know, justice is elusive. It’s a difficult concept. In my view, with this sentence, coupled with what she will bear now for the rest of her life, justice has been served. The true killer has been held accountable.”