ROWLEY, Tooele County — Two people died when a semitrailer rolled into a median and another crashed into a loose military vehicle early Wednesday, shutting down I-80 in both directions.

A semitrailer pulling a military vehicle on a flatbed was heading east on I-80 about 3 a.m. when it hit a median northwest of Grantsville, Utah Highway Patrol Sgt. Todd Royce said.

The driver of the semitrailer, identified as Fred V. Marsh, 61, of Sun Valley, Nevada, died from his injuries.

The military vehicle detached from the flatbed and rolled into the westbound lanes on I-80, Royce said.

A westbound FedEx double-load semitrailer then crashed into the military vehicle and erupted into flames, Royce said. A co-driver in the passenger seat of the FedEx truck died from his injuries. He was later identified as Robert E. Kuntz, 58, of Urich, Missouri.

The driver of the vehicle survived with injuries that were not considered to be life-threatening. He was taken to a nearby hospital.

The scene surrounding the FedEx truck was still too hot for highway patrol officials to approach hours later. The westbound side of the freeway was so badly damaged that the Utah Department of Transportation was called in to repave part of the freeway, Royce said.

I-80 was closed in both directions for several hours. Investigators Wednesday were still trying to determine the cause of the original collision into the median.