CHARLESTON, S.C. - The mother of a 4-year-old girl who was kidnapped during a home invasion has been released from the hospital.
Police said Thomas Evans, 37, attacked the woman from behind with a knife outside her home in Charleston, South Carolina.
She was brutally beaten, and her daughter, Heidi Todd, was abducted.
Heidi was found safe in Alabama.
Evans was arrested after a police chase that ended in Lauderdale County, Mississippi, said Riverside, Alabama, Police Chief Rick Oliver.
Oliver said a railroad crew called him after finding a vehicle parked in the woods Wednesday afternoon near a railroad track in the city on Interstate 20 about 35 miles east of Birmingham, Alabama.
He said Evans and the girl were asleep in the car when he approached, and that once awake, Evans was nervous. Evans handed him the girl after Oliver said they needed to go to the station and talk, then sped away, the chief said.
Prosecutor Scarlett Wilson said Evans has been charged with kidnapping and that she expected to file more charges. Oliver didn't say whether Evans had a lawyer.
Heidi appeared to be unharmed and was waiting at a hospital to be reunited with her father, who was flying in from Charleston, Oliver said.
"She was coloring and eating snacks and drinking chocolate milk. We're just tickled to death she is OK," Oliver said. "Once we got her here and watching some cartoons, she was good."
The girl was discovered missing when officers went to her home on Johns Island after two of her siblings had not been picked up at school, Charleston Mayor John Tecklenburg said.
The mother was found "brutally beaten" but officers did not find Heidi, Tecklenburg said. Two other children were found in the home unharmed, the mayor said.
The woman said she was attacked as she returned home, but investigators don't know exactly when that was or where she had gone, Tecklenburg said.
Investigators have not found any connection between Evans and the girl's family, or figured out a motive for the kidnapping, the mayor said.
Authorities spent 24 hours looking for the girl, searching nearby ponds and flying over Charleston in helicopters. Neighbors came to hear the mayor's news conference and cheered and clapped when he said Heidi was safe.
"What could have been a day of great tragedy has really been a day of joy," Tecklenburg said.
Oliver said this was one of the most awesome days he has had in two decades in law enforcement.
"This is a blessing," Oliver said. "It is nothing to do with luck. The good Lord put me in that place."
Read more top trending stories on wsoctv.com:
- Florida teen charged with 17 murder counts in school attack
- Alabama sheriff finds missing SC girl: 'The good Lord put me in that place'
- Florida high school shooting suspect flagged as threat before tragedy
- Grand jury indicts NC man in death of 3-year-old Mariah Woods
- WATCH: Keith Monday's Thursday morning forecast
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.