Two teens have suffered non-life-threatening injuries after a car crashed into an eastbound train in Saskatoon's west end Tuesday evening.

Police say it happened at about 6:35 p.m. when the car tried to cross the railroad tracks at the intersection of  Fairlight Drive and 11th Street West.

The Saskatoon Fire Service said the collision happened at a controlled train crossing.

It took emergency responders half an hour to free a 17-year-old boy who was pinned inside the car.

An 18-year-old male passenger was able to get out without using rescue equipment.

"The car was in a condition that it collided with the train," said Sgt. Wade Bourassa with the Saskatoon Police Service.

"It certainly did require some delicate removal of the occupants and they [Saskatoon Fire Services] did a really good job of it."

Both men were transported to hospital.

Officers spent the rest of the evening working with Canadian Pacific Rail Police to piece together what caused the accident.

No one in the train was injured.

Drivers are advised to avoid the area since police have restricted traffic, both northbound and southbound, at the intersection.

Police said the intersection should be cleared by midnight.