A gunman who blasted a man at close range outside a south Minneapolis convenience store before moving in for a final shot at his cowering victim has been captured, according to police and court documents.

The sickening scene played out in front of witnesses at the A & D Food Market at 201 W. Lake St. on the evening of Sept. 22. Authorities say it was likely part of a Somali gang feud that claimed three lives over the summer.

The difference this time: The victim survived.

Authorities captured Zakaria Abdinasser Yusuf, 22, of St. Paul, and charged him this week with first-degree attempted murder in association with a gang, first-degree attempted murder, and unlawful possession of a firearm. He’s being held in lieu of $1 million bail with an Oct. 30 court date scheduled.

Yusuf was identified by several witnesses to the attack, including the victim, who said Yusuf goes by the name “T-Dot.”

The shooting was nearly the fourth killing in a string of murders that has caused anxiety and dismay in the local Somali community.

The trouble began June 1, when Mohamed O. Aden of south Minneapolis was fatally shot while seated in a car on a Minneapolis street. Then Muhyadin Mohamud Farah, 26, was shot to death July 4 in a south Minneapolis apartment building.

On Aug. 13, someone fatally shot Abdifatah Ahmed Mahumod, 23, and wounded another man in a Burnsville townhouse.

Yusuf nearly killed his victim Sept. 22, according to the criminal complaint. The victim said he was standing outside the store with two friends at 5:47 p.m. when Yusuf approached, pulled a gun from his waistband and fired, hitting the victim in the arm.

The victim ran into the store, fell down and was struck several more times by bullets. Yusuf then entered the store, found the victim and fired one last shot at him as the victim raised his arm to cover his head. The last shot struck the victim’s arm.

Yusuf then ran out of the store and fled in a vehicle.

When police arrived, the victim said he was “shot all over.” A crime scene technician found six cartridge casings.