MONROEVILLE, Pa. (AP) -- Police have arrested a 17-year-old boy in connection with a triple shooting at a Pittsburgh-area mall that injured the man who was targeted as well as two bystanders.

Police outside the Monroeville Mall near Pittsburgh (CBS Pittsburgh)

Gunfire erupted about 7:30 p.m. Saturday inside a Macy's at the Monroeville Mall, sending panicked shoppers running. The gunman managed to escape but police say they were able to identify him by matching surveillance video with images on social media.

The suspect was arrested at a home in Brackenridge about 3:15 a.m. and is being held at the Allegheny County Jail while awaiting arraignment.

Monroeville Police Chief Douglas Cole says two men who were shot, including the intended target, were hospitalized in critical condition, while a woman who was struck was in stable condition.

In late December, hundreds of teenagers gathered at the mall and several fights broke out. The fights caused local officials and mall administration to agree on a plan to increase security there.

Pennsylvania native and ex-NFL quarterback Terrelle Pryor tweeted Saturday that he was at the mall, a short drive east of Pittsburgh, when the shooting occurred.

"Damn was just in monroeville mall and just saw 2 ppl get shot," he tweeted. "They are letting guns go in there."

Shoppers described chaos as shots rang out.

"All of the sudden we heard people screaming," Athena Coffey of Churchill told KDKA-TV, "and the next thing you see is a bunch of people, teenagers, scared to death, just exodus en masse in a way you could not believe. I grabbed my children, husband, we started screaming `go, go, go!'"

Yvette Jackson of North Braddock was attending a birthday party at Giggles and Smiles, a fitness and fun center for children.

"We saw a lot of running, a lot of chaos," she told the Pittsburgh-Tribune Review. She said she and other patrons were locked in the store for about 45 minutes until police came and let them out.

Four on-duty police officers have been stationed in the mall on Friday and Saturday evenings at the mall's request, Monroeville Mayor Gregory Erosenko said.

"I would have thought that having four officers there would have deterred any incident like we saw (Saturday)," he told the newspaper.

Weapons are banned at the mall, whose code of conduct specifically prohibits "Carrying or displaying weapons of any kind except those carried by certified law enforcement officers in the performance of their duties."

The mall, which is owned and managed by CBL & Associates Properties Inc., of Chattanooga, Tennessee, has 1.1 million square feet of shopping space. It says on its website it features more than 125 stores and eateries, anchored by JCPenney, Macy's and Barnes & Noble.

No one answered the phone at CBL offices after business hours Saturday. A mall security officer reached by telephone said he couldn't talk.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.