Updated at 5:20 p.m. Thursday: Revised to include the suspect's identity and charges.

An armed man accused of holding a woman against her will and carjacking another while leading police on a chase was shot Wednesday afternoon by officers in a gated community in far northeast Dallas.

Austin Reed

Austin David Reed, 26, faces charges of aggravated assault family violence, two counts of aggravated assault with a deadly weapon and three counts of aggravated robbery of an individual.

Police were called about 4:30 p.m. to a motel in the 9500 block of Forest Lane, where a woman was reportedly being held. Reed jumped out of a window and started running from officers. During the chase, he pointed a gun at his head multiple times and made threats to shoot himself, Deputy Chief Thomas Castro said.

Reed, who was wearing body armor, ran into a wooded area, where police could hear shots being fired, Castro said.

KXAS-TV (NBC5)'s helicopter captured video of Reed exiting the woods shirtless and carjacking a woman at gunpoint in the parking lot of an apartment complex in the 12200 block of Abrams Road.

Shots were fired at the vehicle and Reed drove through the complex gate before crashing into a light pole. He got out of the SUV and jumped a fence into a backyard of a home inside a gated complex in the 12200 block of Jackson Creek Drive, Castro said.

Reed got into a vehicle parked in a driveway, then got out and went through an open garage and into a house, where he was confronted by an armed homeowner, police said.

He went back outside and was surrounded by Dallas police and officers with the Dallas County Community College District, which has a campus nearby.

Officers gave commands to Reed, who had a knife. He did not comply, and officers with both agencies fired, striking him, Castro said. It is not clear who struck Reed or how many shots were fired.

He was taken to a hospital and had surgery Wednesday night. He remained at the hospital Thursday with injuries not thought to be life-threatening.

Reed has a prior criminal history including being jailed in February 2018 on three probation violations, according to the Dallas County Sheriff's Department.

The woman who was being held and the carjacking victim were both reported to be OK. No officers were injured and police have not released the names of the women.

The homeowner, Ron Hernandez, told NBC5 that he had just gotten off work and was talking to his roommate when they heard someone running down the hallway.

"As I look up, somebody's yelling, 'Give me your [expletive] keys, give me your [expletive] keys,'" he said.

Hernandez said he fought Reed off and ran to get a gun from a bedroom.

"He was kicking [the door] and hitting it, trying to bust the door so he could get to us," he told the station. "I opened the door and put the gun to his face and he took off running down the hallway."

Hernandez said he would have pulled the trigger if police hadn't told him to drop his weapon.

"It was quite an emotional, surreal day," Hernandez told NBC5.

Anyone with information or surveillance footage may call Dallas police at 214-671-3068.