SEDGWICK, Maine — State police said alcohol was a factor in a crash early Sunday morning in which three people suffered serious injuries.

The crash occurred shortly before 1 a.m. just west of the intersection of Route 15 and Route 176, Maine Department of Public Safety spokesman Stephen McCausland said in a news release.

The vehicle involved, a white 1998 Jeep Wrangler driven by Olivia Perkins, 21, of Penobscot was traveling from Route 15 to Route 176 when the she lost control of the vehicle.

The Jeep left the road, traveling off the right shoulder, and then struck a flatbed trailer that was parked in a driveway and then vaulted into a tree.

Passengers in the vehicle were Torey Slaven, 22, of Surry and Philip Graceffa, 30, of Brooksville. McCausland said Slaven and Graceffa both were ejected from the vehicle and that Perkins was trapped in the driver’s seat and had to be extricated.

McCausland said that one of the crash victims was picked up by LifeFlight at the scene and taken to Eastern Maine Medical Center in Bangor. A second person was transported to Blue Hill Hospital by ambulance and then taken by LifeFlight to EMMC. The third person was transported to Blue Hill Hospital by ambulance, he said.

It was not immediately clear which of the injured were taken to Bangor and which one went to Blue Hill.

Alcohol was a contributing factor in the accident, McCausland said. Maine State Police Cpl. Daniel Ryan is leading the investigation into the crash, with assistance from Sgt. Tim Varney.

Hancock County Sheriff’s Office Chief Deputy Patrick Kane and Deputy Jeff McFarland also assisted with the investigation.

The crash remains under investigation.