SHELTON — A good Samaritan had their vehicle stolen Saturday morning when they stopped to help the driver of a rollover crash, according to police.

Connecticut State Police responded to Route 8 south near Exit 12 in Shelton around 6:34 a.m., an accident summary report said.

Troopers found that a vehicle headed south on Route 8 near Exit 12 hit the metal beam guard wire before it hit a rock outcropping and rolled over.

State police said good Samaritans stopped and helped the driver — who wasn’t injured — out of his vehicle.

The driver the passersby helped then allegedly stole the car of one of the men who helped him — a 53-year-old Derby man, state police said.

The driver — identified by state police as a 27-year-old Naugatuck resident — was later involved in a serious crash in Shelton, where he hit a tree.

Shelton Police Lt. Robert Kozlowsky confirmed that a one-vehicle crash in Shelton about 7 a.m. involved the vehicle stolen from an individual who stopped on Route 8 for a crash.

Kozlowsky said this remains an open investigation and no arrests have been made at this point.

It happened in the 400 block of Isinglass Road.

Shelton Deputy Fire Chief Paul J. Wilson said Huntington Fire Company No. 3 and White Hills Fire Company No. 5 responded to the crash about 7 a.m. Wilson said firefighters found the driver trapped inside the car.

Firefighters found the driver “severely pinned in the upside-down vehicle,” Wilson said. “Crews used multiple Jaws of Life tools to disentangle the operator.”

Wilson said finally, after “30 minutes of painstaking cutting and prying metal to get to the occupant, the firefighters were able to extricate the operator.”

Echo Hose Ambulance Corps transported the driver to a local trauma facility with serious injuries, Wilson said.

Kozlowsky said this remains an open investigation and no arrests have been made at this point.