Police said they stopped a man driving erratically on the North Side Saturday afternoon only to find out he had been shot.

The incident occurred shortly before 3 p.m. near the intersection of Western and Galveston avenues in the Allegheny West section of the North Side.

A Pittsburgh police detective saw the vehicle traveling erratically on Western Avenue, and initiated a traffic stop. The vehicle pulled over, and the driver got out and laid on the ground because he had been shot.

Medics took the man to a hospital in critical but stable condition.

Police were trying to determine the location of the shooting as they continue to investigate.