EASTON, Pa. -

Her boyfriend is accused of killing her 17-month-old daughter, but Friday, a Northampton County mom pleaded guilty to the charges she was facing stemming from that incident, and as part of the plea deal, she is now a free woman.

Police said Heather Surget's boyfriend, Gary Foley, killed the little girl inside her home in Lehigh Township, Northampton County, in February 2015, but Surget was charged with four counts of endangering the welfare of a child for what investigators described as deplorable conditions inside the home.

Surget had been in jail for a little more than six months. Her attorney said she took a plea deal to take responsibility for her part in the crime.

"Accept responsibility for her role in staying in the home," said defense attorney Tyree Blair.

Surget and Foley were arrested in March 2016. Foley told police the girl started to choke after he fed her, according to court documents. Surget was at work during the time and left four children with Foley at this home in Lehigh Township on February 24, 2015.

Investigators said the baby died at the hospital from blunt force trauma to the head. Her death was ruled a homicide.

Investigators said they found deplorable conditions inside the home: No running water, space heaters for a heat source, and garbage piled up in the kitchen.

"She admitted to me that, yeah, she wishes she did leave," added Blair, "but it was her mother's home or a shelter. That was the options she had at the time."

Surget was charged with four felony counts of endangering the welfare of a child.
In the plea deal, one charge was reduced.

"She decided to take this felony deal to go home, essentially. She's currently pregnant and didn't want to stay in prison," said Blair.

Surget was sentenced to time served and will be on probation for the next five years.

For now, she will have no contact with her children, and if called, she must testify against Foley.

"I believe it was a pretty good deal," said Blair, "especially where it was ran concurrent. It was an agreed upon sentence and I think it turned out to be the best outcome for Ms. Surget."

Foley is still awaiting trial in his case.