Updated at 3:55 p.m. with more details about the traffic stop.

A woman was killed and a Farmers Branch police officer was wounded in a shootout during a traffic stop late Tuesday, police say.

{"type":"video","title":"Dallas News Video","author_name":"Dallas News","_id":"A2aWJzZDE61zieGGPU6G1epVaaD0lvFz","provider_name":"Ooyala","html":"

","raw":"{\"type\":\"video\",\"title\":\"Dallas News Video\",\"author_name\":\"Dallas News\",\"_id\":\"A2aWJzZDE61zieGGPU6G1epVaaD0lvFz\",\"provider_name\":\"Ooyala\",\"html\":\"\\u003Cdiv class=\\\"oo-vid-container\\\" data-oo-content-id=\\\"A2aWJzZDE61zieGGPU6G1epVaaD0lvFz\\\"\\u003E\\u003C\\/div\\u003E\\u003Cscript defer src=\\\"https:\\/\\/www.dallasnews.com\\/resources\\/motif\\/dist\\/js\\/ooyala.js\\\"\\u003E\\u003C\\/script\\u003E\"}","providerType":"ooyala","providerLink":"https://www.dallasnews.com/oembed","embedType":"video"}

Brooke Camacho, 38, who was a passenger in the car that was stopped, pulled a gun and fired on the officer about 11:30 p.m. in the 2800 block of Valley View Lane, according to police.

Brooke Camacho (Denton County Sheriff's Office)

The officer returned fire, hitting the woman, officials said. Both were taken to hospitals, where the woman died.

Six hours later crews are still here collecting evidence. Police say a woman shot at a police officer during a traffic stop. Officer shot back and woman has since died. pic.twitter.com/7ZhHW3POT6 — Hannah VanHuss Davis (@hannahdinhd) December 27, 2017

The officer, who was wearing a protective vest, wasn't seriously wounded and was treated and released, officials said. Police credit the vest for saving the officer's life, KXAS-TV (NBC5) reported.

Police told NBC5 that the officer approached the vehicle and spoke to the driver, who was cooperative. During the stop, police said, the officer asked the woman in the passenger seat to get out of the car.

Police said she got out, pulled a handgun and shot the officer in the chest, NBC5 reported.

The male driver was arrested but later released, police reported. Farmers Branch police declined to name the driver or the officer because the investigation is in progress. The officer, who has been on the force for two years, is on routine paid administrative leave pending internal and district attorney investigations, NBC5 reported.

"It affects everyone. It could've been any one of us at any one time," Officer Kris Garrett, Farmers Branch police spokesman, told the station. "There is no routine traffic stop."