Authorities say 23-year-old Rachel Nelson of Costa tried to kill her four-month-old son in October 2012, while he was being treated at Children's Hospital.

Her sentence also includes five years of probation and no contact with any minor children.

Nelson first told investigators that she blacked out during incidents involving the child but eventually acknowledged she would hold the boy against her chest and hold him tighter when he struggled for air.