The Massachusetts babysitter accused of kidnapping and assaulting a young girl last year changed her plea to guilty on Friday.
Abigail Hanna was charged with kidnapping and other offenses in connection with the kidnapping of 2-year-old Lyndon Albers from her home in Hamilton back in November of 2015.
Hanna appeared in Salem Superior Court on Friday, where she pleaded guilty to all of the charges, including breaking and entering, kidnapping, assault and battery on a child and assault and battery with a dangerous weapon.
She was sentenced to 5 to 7 years in state prison, followed by 10 years of probation.
Police said Hanna broke into Lyndon's home and kidnapped the child. She had babysat for the child once before.
The child was found hours later naked by the side of the road in Rowley with her head shaven.
Officials said Hanna was hallucinating and had suffered a miscarriage a month before the incident.