Two men are dead and a police officer was wounded after a traffic stop turned into a gunfight Friday in San Antonio.

San Antonio Police Chief William McManus said the officer was by himself when he walked up to the truck, occupied by a driver and two passengers. The chief said he viewed video that showed the officer and the driver having a casual conversation for a few minutes.

The chief said at some point, the driver pulled a gun and started firing at the officer, striking him in the hand and his radio. The officer then returned gunfire as he retreated back to his vehicle. The driver and a passenger were killed in the exchange. A female passenger was wounded and taken to the hospital in serious condition.

The officer drove himself to the hospital for treatment, KENS reports. McManus said he was "very, very lucky to be alive at that close range, having been shot in the hand and not somewhere else more vital."