DINWIDDIE COUNTY, Va. -- The State Police Bureau of Criminal Investigation's Richmond Field Office is investigating a shooting that left a man dead after he accidentally shot himself in the head early Sunday morning.

Investigators said 21-year-old Kavon Cooper of Church Road was riding in a vehicle traveling south on I-85 around 2:45 a.m. with two other adult males.

According to one of the individuals in the vehicle, Cooper had a revolver and was waving it around when a shot rang out.

The driver of the vehicle immediately took the Boydton Plank Road exit, pulled into a McDonald's parking lot and summoned help.

Cooper died at the scene. Neither the driver nor the other passenger were injured.

Police recovered the revolver from inside the vehicle and continue to investigate the incident.

Family and friends said Cooper graduated from Dinwiddie High School in 2014.