NEBO, N.C. (AP) — Authorities say a suspect was killed and a North Carolina deputy wounded during an exchange of gunfire during a traffic stop.

A news release from the McDowell County Sheriff's Office said that the shooting happened during a traffic stop early Monday in the Nebo community in western North Carolina.

The sheriff's office said that the deputy exchanged fire with people in the vehicle. One suspect was killed and another was taken into custody, the release said.

The wounded deputy was treated and released from a hospital.

The names of the deputy and the suspects weren't immediately released. The sheriff's office said that the deputy and the suspect who died are both white men.

“Our prayers go out to the family of the deceased, and we are very blessed that our deputy was not more seriously injured during this deadly encounter,” Sheriff Ricky Buchanan said in a statement.

The State Bureau of Investigation is probing the shooting as part of standard procedure.

Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.