An Iowa mom has been sentenced to life in prison without parole after her baby son's lifeless body was found in a maggot-infested swing.

Cheyanne Harris, 22, showed no emotion as she was sentenced on Tuesday in New Hampton to the state-mandated penalty, and her request for a new trial was denied.

It took Plymouth County jurors around four hours to find Harris guilty of first-degree murder and child endangerment causing death on February 6.

No family members were present to see Harris, wearing jail stripes and an orange jacket, sentenced on Tuesday.

Sterling Koehn was lifeless and bleeding from the mouth when he was found rotting in his swing in a sweltering bedroom on August 30 2017, in an apartment in Alta Vista, Chickasaw County.

An autopsy shows he died of malnutrition, dehydration and an E. coli infection.

The baby's father, Zachary Koehn, also has been sentenced to life in prison.

Scroll down for video.

Cheyanne Harris, left, enters the courtroom prior to sentencing Tuesday in New Hampton

Sterling Koehn, pictured, died of malnutrition, dehydration and an E. coli infection caused by being left in a maggot-infested diaper for up to two weeks

Harris (left) has been imprisoned for life without possibility of parole. The baby's father Zachary Paul Koehn, right, was convicted of first-degree murder and child endangerment

Drug user Harris - who pleaded not guilty - was arrested after medics found the baby. She had caused a break in her trial last month when she cried after seeing pictures of her lifeless newborn.

The images appeared to show him bleeding from the mouth wearing camouflage pants and a shirt with a cartoon cow above the words 'let's play'.

Police said they found everything needed to care for the child, including new diapers and baby ointment to treat the rash, inside the home, The Waterloo-Cedar Falls Courier reports.

Koehn is said to have made $45,000 a year and had access to health insurance but witnesses told the court the apartment smelt of urine, feces and decay. The couple's other two-year-old daughter appeared healthy.

Baby Sterling's blanket was covered in urine and there were maggots on his clothing, the court heard.

Chief Deputy Reed Palo said Harris told him she had fed the baby about four ounces the night before he was found.

A forensic entomologist said Sterling had been in his swing for nine to 14 days in the same diaper and said he had 'not had a diaper change, bath, or been removed from the seat in over a week'.

The four-month-old Sterling Koehn (above) had been in the same diaper for nine to 14 days when his body was found dead in the swing, a court heard

Both Harris, left, and Zachary Koehn, right, have been sentenced to life in prison

Harris, right, starts to cry during her court appearance in Le Mars, Iowa, in January

Harris, pictured last month, showed no emotion as she was sentenced on Tuesday. She is seen here in January

Harris, who reported last using meth weeks before the death, had postpartum depression and was expected to use intoxication or diminished responsibility as a defense.

Zachary Paul Koehn, 29, of Alta Vista, was convicted in under two hours and received a mandatory prison sentence of life without parole for the child endangerment that caused the death of four-month-old Sterling Koehn.

Jordan Clark, a former friend of Koehn's, had testified that he wasn't even aware the man had a baby.