BAKERSFIELD, Calif. (KBAK/KBFX) — Maya Hernandez, a Visalia mother convicted of child abuse after leaving her two sons in a hot car, took a plea agreement.

Hernandez pleaded no contest to involuntary manslaughter. The murder charge was dismissed.

RELATED: Hearing for Maya Hernandez postponed to next week

In December, a jury was deadlocked on a second-degree murder charge, leading to a mistrial on that charge and involuntary manslaughter.

RELATED: Visalia mother found guilty of child endangerment; murder charge mistrial declared

In a tense day of closing arguments, prosecutors and defense attorneys presented sharply contrasting narratives in the case of Maya Hernandez, the mother charged in the hot-car death of her one-year-old son, Amilio, and the alleged endangerment of his two-year-old brother, Mateo, as she attended a medical spa for a liquid BBL in Bakersfield. KBAK/KBFX

In a tense day of closing arguments, prosecutors and defense attorneys presented sharply contrasting narratives in the case of Maya Hernandez, the mother charged in the hot-car death of her one-year-old son, Amilio, and the alleged endangerment of his two-year-old brother, Mateo, as she attended a medical spa for a liquid BBL in Bakersfield. KBAK/KBFX

Last June, Hernandez left her two sons in a hot car while she got a cosmetic procedure at a Bakersfield medical spa. Her one-year-old son, Amillio, died.

Comment with Bubbles

JOIN THE CONVERSATION (5)

Hernandez’s sentencing is scheduled for March 5.