SPANISH FORK — Three Alabama residents were hospitalized Thursday after a semitrailer hauling apples rolled off of U.S. 6 in Spanish Fork Canyon.

The accident occurred about 10:25 a.m. when the tractor-trailer rolled over the jersey barrier and down onto Union Pacific railroad tracks below. All three passengers in the cab of the truck were ejected, said Utah Highway Patrol Cpl. Rich Nielson.

Laura Fannin, 26, of Dozier, Ala., a passenger in the truck, was transported to an area hospital by medical helicopter. The driver, Jirden Mcinvale, 28, of Georgiana, Ala., and passenger Christopher Odom, 39, of Andalusia, Ala., were taken to an area hospital by ambulance. All three occupants of the truck were in critical condition.

Troopers believe speed was a factor in the crash, Nielson said. Investigators were still trying to determine if any of the occupants were wearing seat belts.

Union Pacific shut down all train traffic in the area because the wreckage was sitting atop the rails on a line that runs parallel to the highway. The accident also split the trailer open and cartons of apples were littered throughout the crash site.

U.S. 6 was restricted to one lane in each direction.

Geoff Liesik, Twitter: GeoffLiesik