Editor’s Note: This story has been updated to reflect new information from Austin police that this robbery investigation is related to an investigation of a shooting that closed part of Burnet Road Tuesday.

AUSTIN (KXAN) — Austin police said a man shot someone trying to rob him Tuesday afternoon at a north Austin outdoor shopping center. The suspect then got in a car, which drove a short distance before someone called 911 to get him medical help.

Jaylyn Reed, 17, faces an aggravated robbery with a deadly weapon charge. According to the affidavit, he was taken to the hospital with a gunshot wound that threatened his life. KXAN reached out to his attorney and will update this story when we receive a response.

According to the arrest affidavit, Reed has an “extensive criminal history of aggravated robbery” and is a suspect in robberies that happened in the last few weeks.

At 4:11 p.m. the suspect came up behind two people who were walking through a parking lot at 3400 Palm Way, which is in The Domain shopping center, according to an arrest affidavit. The victims told police he had a black shirt wrapped around his face and pointed a gun at the two as he took a shopping bag and a backpack from one of them.

The suspect started getting into a car and pointed a gun at one of the victims who was yelling and walking toward him, the other pulled out a concealed pistol and shot the suspect.

According to an affidavit related to one of the people accused of being in the car, Reed dropped the gun he had at the scene. Police later said it was stolen.

The suspect left in the car, but didn’t get far before a passenger called 911 for help and police responded. The victims’ property was found in the vehicle, the affidavit said.

“Reed had been ordered by a Travis County Judge to wear an ankle monitor, which has been removed from his person,” the affidavit said.

On Tuesday, a portion of Burnet Road near Esperanza Crossing closed after a shooting, Austin police said. A police spokesperson confirmed Wednesday afternoon this was a separate shooting investigation and not related to the robbery investigation, but an affidavit filed Thursday morning indicated detectives determined they were related.