CN Rail says the lights were working at a crossing in southeast Calgary where a car collided with a train Sunday morning.

One person had to be extricated from the car after it ran into the Canadian National Railway Company train at 17th Avenue S.E. and Hubalta Road around 3:30 a.m. MT.

The driver of the car, a woman in her 40s, was taken to hospital in serious but stable condition. The passenger in the car was not injured.

A spokesperson for CN Rail says there was no effect to the rail line and an investigation is now underway.