Associated Press
This image from video provided by KABC-TV Los Angeles shows wreckage of a Metrolink commuter train after it crashed into a truck and derailed early on Tuesday, Feb. 24, 2015 in Oxnard, Calif.

OXNARD, Calif. — A commuter train slammed into a truck stuck on the tracks early Tuesday, sending three rail cars tumbling onto their sides and injuring 28 people in the fiery crash in California.

The accident occurred around 5:45 a.m. about 65 miles northwest of Los Angeles. Four people, including the train engineer, had critical injuries.

The truck driver was found disoriented one or two miles away, said Jason Benitez, an assistant chief of the Oxnard Police Department.

The crash occurred at a spot where the tracks cross an avenue just before an intersection. The driver was making a right turn from the avenue onto the cross-street but ended up on the tracks, Benitez said.

The driver, identified only as a 54-year-old from Arizona, was cooperating and was not under arrest, Benitez said. The driver was hospitalized in stable condition.

Glenn Frisbie was driving to work and sitting at an intersection about a block away when the train struck the truck.

"I saw a bright flash, a big fireball and flames, flames going pretty high," he said.

Little was left of the truck except scorched and mangled wreckage, with some debris found in a nearby intersection and some close to the tracks.

"When the crews arrived on scene, it was in flames, the vehicle, and it was pretty much cut in half," Oxnard Fire Battalion Chief Sergio Martinez said.

The Metrolink train carrying 48 passengers and three crew members was heading from Ventura County to Los Angeles. The injured people were taken to several hospitals.

The locomotive, which was pushing the train from the back, was upright. The stretch of track is straight and that allowed the conductor to see the truck and begin braking, Martinez said.

The train typically would be accelerating out of the Oxnard station at about 55 mph, Metrolink spokesman Scott Johnson said. With braking, he estimated it would have hit the truck at between 40 mph and 55 mph.

The crossing had arm gates, signal lights and a center median, said Francisco Castillo, a spokesman for Union Pacific Railroad, which owns the tracks.

Johnson said initial reports from the scene indicated the arms and lights were working.

The National Transportation Safety Board and the Federal Railroad Administration were sending investigators to the scene of the crash.

None of the rail cars crumpled, and that likely explains why there weren't more serious injuries. That's the aim of "collision energy management technology," which disperses energy from the impact, instead of allowing it to concentrate inside the cars, Johnson said.

Metrolink invested heavily in such technology following other major crashes on its lines over the past decade.

Twenty-five people were killed on Sept. 12, 2008, when a Metrolink commuter train struck a Union Pacific freight train head-on in the San Fernando Valley community of Chatsworth. More than 100 people were hurt in one of the worst railroad accidents in U.S. history.

Federal investigators later concluded that the Metrolink engineer had been texting moments before the crash and ran a red light.

In 2005, 11 people were killed and about 180 were injured when a man who later claimed he was suicidal parked his SUV on tracks in suburban Glendale and fled before an oncoming Metrolink train struck it and derailed, hitting a second Metrolink train.

In 2002, two people were killed and 270 injured when a Burlington Northern Santa Fe freight train ran a red signal light and crashed into a stopped Metrolink train in the Orange County community of Placentia. Of the injured, 162 were sent to hospitals.

Associated Press writers John Antczak, Justin Pritchard and Sue Manning contributed from Los Angeles. Amy Taxin contributed from Tustin, California, and Alina Hartounian contributed from Phoenix.