This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

NEWARK, N.J. (AP) — The man who authorities said wounded two Newark police officers as they attempted to question him about a previous shooting was taken into custody Wednesday.

Acting Essex County Prosecutor Theodore Stephens II will hold a news conference later in the day to discuss the apprehension of Kendall Howard, 30, who was charged Tuesday with the attempted murder of the two officers.

The gunfire erupted Tuesday outside an apartment building in residential neighborhood about a mile west of Newark Liberty International Airport. Frightened residents were forced to remain inside as police blocked off nearby streets to search for the gunman.

One officer was shot in the leg. The other officer’s neck was grazed by a bullet that lodged in his shoulder, Newark Mayor Ras Baraka said.

The two officers returned fire and the gunman fled into the apartment building, Baraka said. But the gunman managed to escape capture until his apprehension.

Police had responded about 1 p.m. after a citizen who had seen a flyer about a previous shooting called in a tip about the suspect’s possible identity, according to Baraka. Police were exiting the building when they encountered the suspect in the parking lot and, during an altercation, he pulled a gun and began shooting, the mayor said.

A video taken by a bystander and posted online appeared to show someone helping an officer off the ground and soon after, others in uniform helping the limping officer into a car.

Video taken from news helicopters showed police officers in tactical gear staging on streets in the neighborhood and searching on top of and around the base of at least one multistory apartment building.

Elijah Moore was in his bedroom when he heard gunshots ring through his neighborhood. He immediately moved away from the window after hearing what he said were “a lot of shots,” possibly more than a dozen.

“I didn’t know what to do, if they were getting into my building,” said Moore, 33.

He turned on the television where he learned more about the shooting. His panic subsided minutes later, he said, when he saw police swarming his neighborhood.

Authorities charged Howard with attempted murder, unlawful possession of a weapon and possession of a weapon for an unlawful purpose.