A York City woman accused of allowing her 2-1/2 month old son to die of malnutrition and dehydration was set free after more than a year in prison under a plea agreement reached with the York County District Attorney's Office.

Heather Almoney, 31, pleaded no contest to involuntary manslaughter and was sentenced Wednesday to time served (587 days) to five years in prison for the Nov. 12, 2011 death of her son, Eric Clapper Jr. Murder charges against her were dropped as part of the deal.

Also Wednesday, the District Attorney's office withdrew a manslaughter charge against Eric's father, Eric Clapper Sr., who had been found incompetent to stand trial after originally being charged with murder.

Attorneys for both parents have said their clients were intellectually disabled and unable to make the proper decisions to care for the child.

Almoney's attorney, Clarence Allen, declined to comment beyond saying the deal struct with the district attorney was "fair."

According to York County Prison records, Almoney was released Wednesday afternoon.

The charges: Dr. Jonathan Liss, a York Hospital neonatologist and director of its neonatal intensive-care unit, testified at the couple's preliminary hearing that Eric Jr. was born nine weeks premature and weighed 3 pounds, 6 ounces.

He spent a little more than a month in intensive care, and by the time he was discharged he weighed 5 pounds, 2 ounces, was able to feed normally and was able to alert adults he was hungry, according to Liss.

At the time of Eric Jr.'s death, he should have weighed about 7 pounds, but only weighed 3 pounds, 10 ounces and was emaciated, Liss testified.

Testimony revealed Eric Jr. had no food in his system, and no fecal matter, either. The infant's level of emaciation could not have happened in a few days' time, according to Liss.

-- Staff writer Liz Evans Scolforo contributed to this report. She can be reached at levans@yorkdispatch.com.