DETROIT - A man who abducted a 2-year-old girl last year, causing an Amber Alert and a police chase through multiple Michigan counties, was sentenced Wednesday to more than 24 years in prison on kidnapping charges.

Grady Lamar Barrett, 43, was sentenced Wednesday, Aug. 29 to 293 months in prison.

Barrett, who was released from an Alabama prison in 2016 after serving 20 years for stabbing a woman to death, pleaded guilty in March to kidnapping, according to court documents.

"Within a year of being released from prison on a murder conviction, Defendant showed up at his girlfriend's aunt's house, kidnapped (the child), pushed the child's aunt to the ground, and pointed his machete at her, (saying) 'This will be the last time you see her,'" prosecutors said in a court filing. "Barrett drove the kidnapped child through Michigan and Ohio for hours, before officers finally located him. Barrett then lead officers on a high speed car chase, ultimately crashing his truck with the baby--not in a car seat--still inside. Barrett's machete sat on the dashboard."

Federal prosecutors said the kidnapping took place about 2:30 a.m. Aug. 1, 2017, after a fight between Barrett and his girlfriend, the 2-year-old's mother.

"Grady Barrett, despite his violent past, got a second chance. Rather than spending the rest of his life in prison, Barrett had an opportunity to start over--to make better choices. But instead, Defendant decided to continue the violence," prosecutors wrote.

The girl was missing for more than seven hours.

After an hour-long, high-speed chase that began when Barrett returned to Michigan and police spotted him in Monroe County, he crashed his GMC Sierra pickup truck in Detroit and law enforcement recovered the child.

"The defendant endangered the life of a small child through his reckless crimes, and he deserves a quarter-century in prison," United States Attorney Matthew Schneider said. "We will continue to work with our federal, state, and local partners to vigorously protect the children in our community."