MIDVALE — The driver of a pickup truck shot a man in the back of the head after being cut off while leaving a grocery store parking lot Tuesday night, police said.

The shot missed a female passenger in the back of the car but hit a man sitting in the front passenger seat, Midvale Police Sgt. John Salazar said.

The victim was taken to a hospital in critical condition.

"The driver of the truck took offense to the traffic mistake," Salazar said.

The incident happened just before 10 p.m. in the parking lot of Smith's Food and Drug near 7000 S. 900 East.

The car's driver and another passenger said they inadvertently cut off the truck, police said. The driver of the truck followed the car for several blocks.

When they saw the man reaching under his seat, the driver of the car tried to speed off.

That's when, police said, the man in the truck fired a single shot.

"The driver didn't hear the shot, he felt the glass," Salazar said. "He looked over and noticed there was blood."

Police said the driver then turned his car around, looking for a hospital. When he saw a Salt Lake County sheriff's deputy, he pulled over near 1300 E. Fort Union Blvd.

Investigators found a single bullet casing near 7100 S. 700 East, Salazar said. Police were still working on a description of the truck driver late Tuesday night.

Salazar said police are treating the incident as an attempted homicide.