It happened at the Weatherfield Place subdivision at the intersection of Mourning Dove and Running Cedar Trail.
According to a North Carolina Highway Patrol spokesperson, around 11 p.m. Thursday night, a Wake County based trooper pulled over a Dodge Ram pickup truck for going through a stop sign.
But as the trooper got out of his car, the pickup driver backed into it and then took off.
The officer gave chase in his vehicle, and at some point, the driver of the pickup tried to do a u-turn and intentionally hit the trooper's cruiser once again. The trooper fired his pistol through his driver's side window at the truck in an attempt to avoid being hurt.
The truck - which was stolen in Virginia - took off again, but was found a short time later abandoned on Old Hill Road near Strickland Road.
Troopers were joined by Raleigh police officers, Wake County sheriff's deputies, and a helicopter in an hours-long search for the driver, but the person was not found.
Troopers said they don't know if the driver was injured by the gunfire.
The trooper who fired his gun has been placed on administrative duty - which is standard - while the State Bureau of Investigation reviews what happened.