The Knoxville Police Department said 21-year-old Devin DeWayne Smith was arrested after he shot a man who was trying to protect a woman being robbed.

A Knoxville man is behind bars after a shooting that wounded at least two people in August.

According to the Knoxville Police Department, 21-year-old Devin DeWayne Smith was taken into custody by Knox County deputies Tuesday afternoon at Holston Oaks Apartments and is facing two counts of aggravated assault.

The incident happened on Aug. 24. A woman had left her home on Dexter Lane to engage in a drug deal, according to KPD. When she left her home, officers said she was ambushed by several people in a robbery attempt who were demanding money and drugs.

KPD said a neighbor heard the commotion and saw the woman being assaulted, so he grabbed his gun and yelled at the suspects to stop.

One of the suspects shot at the neighbor, hitting him in the chest. KPD said the neighbor returned fire, striking one of the suspects in the testicle.

The suspects fled and the victim was taken to the University of Tennessee Medical Center with non-life threatening wounds.

KPD said Smith had been dropped off at the University of Tennessee Medical Center at the same time as the victim as he waited for treatment. The victim was able to identify the Smith as the person who assaulted the female and who had shot him.