Four people were shot and wounded during holdups in the District on Tuesday, including two victims who tried to fight back and wrest the guns away from their attackers, according to D.C. police.

The injuries were not life-threatening, and police could not say if any of the three robberies were related. Descriptions of at least one of the suspects as well as the type of weapon were similar in two of the holdups.

The first attack occurred a few minutes after midnight outside a Z-Mart store in the 1800 block of Benning Road NE, just east of the intersection of Bladensburg Road and Maryland Avenue.

Officer Araz Alali, a D.C. police spokesman, said one man was walking by the store and saw another man being robbed at gunpoint. As the bystander turned to run, the victim, apparently thinking that his attacker was distracted, grabbed the gunman.

During the struggle, Alali said, the gun discharged, striking the bystander in the back and shoulder and the robbery target in the left side. Police had only a scant description of the robber: an 18-to-25-year-old man wearing a blue jacket and white pants and armed with a silver revolver.

Shortly after 1 p.m., police said, two men waiting for an ice cream truck in the 3500 block of 18th Street SE were robbed by two men, one armed with a handgun. Alali said the gunman demanded one person’s shoes and then shot him in the lower back and arm. It was unclear whether the gunman got the shoes.

Police said that gunman, about 55, was wearing a black jacket and blue jeans. The holdup occurred about five miles south of the one on Benning Road.

About three hours later, in the 4400 block of F Street SE, a man walking to his apartment was held up by a man with a silver revolver. Alali said the victim slapped the weapon out of the man’s hand and the gun discharged, striking the victim in the shoulder.

Police said the man was wearing a black jacket, blue jeans and a black ski mask.