By CBSLA Staff

RANCHO CUCAMONGA (CBSLA) — A three-vehicle crash in Rancho Cucamonga led authorities to a Moreno Valley man who had been fatally shot.

Deputies responding to a three-vehicle crash in the 10800 block of Church Street at about 6:30 p.m. Thursday found 39-year-old Corey Deshawn Cooper in his car with a gunshot wound. Cooper was declared dead at the scene.

READ MORE: Report: US Rep. Karen Bass To Run For LA Mayor

Detectives from the San Bernardino County sheriff’s specialized investigation division determined Cooper had been shot nearby and lost control of his vehicle, which veered into oncoming traffic and hit two vehicles.

READ MORE: On First Day Pfizer's Booster Available For Eligible Adults In LA County, Few Have Turned Up For The Shot

The drivers of the other two vehicles involved in the crash were not hurt.

It’s not clear where Cooper was shot immediately before the crash, and investigators are looking into the events that led up to the collision.

MORE NEWS: Man Allegedly Tried To Run Over Members Of A Fairfax Synagogue With His Car Wednesday

Anyone with information about the crash or the shooting that killed Cooper can contact Detective Nicolas Craig at (909) 387-3589.