An Illinois woman was injured after her car careened into the path of a fast-moving train.

Video from the train captures the scary incident, which occurred in Itasca, Illinois, on Tuesday on the Metropolitan Rail Corporation's Milwaukee District West line

Investigators say the 78-year-old woman lost control of her vehicle and skidded past the crossing gates as the train was approaching.

The conductor sounded the horn before impact, but was unable to stop in time.

Her son, Jim Vitale, said, "It's amazing that anybody could live through that. God was on her side."

The Chicago Tribune reported:

The car was thrown about 20 feet and came to rest against a metal shed, according to Itasca Fire Chief James Burke.

Firefighters were able to pull her out of the car and she was taken to Alexian Brothers Medical Center in Elk Grove Village. Her condition was not known, but Burke said she was conscious when placed in the ambulance. No one else was in the car.

The accident happened around 7 a.m. as the woman drove south on Walnut Street, officials said.

"Witnesses said the car slid under the downed gates," Burke said. "She tried to put it in reverse."

All trains were halted after the crash, but some resumed service by 8:10 a.m. All trains were running by 8:45 a.m., but with substantial delays, Metra said.

Watch more above and see photos of the totaled car below.