Police say an armed man was shot and wounded by officers responding to a shooting in the Bronx on Wednesday night.

Police say plain-clothed anti-crime officers were in the Wakefield section of the Bronx on a normal patrol when they heard gunshots around 8 p.m.

According to the NYPD, the officers got out of their vehicle when they observed a man with a silver firearm. Officials said they yelled, "Don't move, drop the gun," but the man pointed his weapon at one of the officers.

That's when an officer fired his weapon, according to authorities, hitting the man in the torso. Afterwards, the man fled on foot for approximately 200 feet before collapsing.

Police then discovered another man on White Plains Road who had been shot in the arm, the NYPD said.

Authorities say they believe that man and the suspected gunman had been involved in a dispute that turned violent beforehand.

Both men were taken to Jacobi Medical Center. The man police shot was hospitalized in stable condition, and the other man was listed in critical condition.

No officers were injured.