LANCASTER (CBSLA) — A Lancaster man was rescued by Los Angeles County firefighters on Friday, after he lost control of his car and got stuck on the train tracks near Avenue J and Sierra Highway.

The incident was reported around 3:15 p.m., when the man apparently lost control of his vehicle due to a medical emergency.

READ MORE: Injured Hiker Rescued From Temescal Gateway Park

Firefighters were able to remove the man before the train collided with the vehicle that was stuck on the tracks.

READ MORE: Body Found On 101 Freeway

A message was sent to the Union Pacific freight train, but it proved to be too late as the train was unable to stop before slamming into the vehicle.

The man was transported to a medical facility for treatment of the medical emergency that caused the incident.

MORE NEWS: One Dead, One Injured In Hawthorne Motorcycle Crash

(© Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. City News Service contributed to this report.)