BUFFALO, N.Y. – A civil rights advocate, a deacon and a heroic security guard were among 10 people killed in an apparent racism-driven rampage by an 18-year-old gunman who had been kicked out of the store the previous night.

Buffalo police have released the identities of the victims, among them a security guard hailed as a “hero” for trying to stop the gunman at the Tops Friendly Markets store. Their ages range from 32 to 86 years old. 

The suspect was identified by authorities as Payton Gendron, 18, of Conklin, New York, about 200 miles east of Buffalo. Gendron would have continued his rampage if he had not been stopped by officers outside the store, Buffalo Commissioner Joseph Gramaglia told ABC News on Monday. 

“We have uncovered information that if he escaped the supermarket, he had plans to continue his attack,” Gramaglia told ABC News. “He had plans to continue driving down Jefferson Ave to shoot more black people … possibly go to another store (or) location.”

 ‘THIS IS THE HEART OF THE BLACK COMMUNITY’:Buffalo shooting rattles close-knit neighborhood

Here’s what we know:

Tops manager says she asked suspect to leave store the night before

Shonnell Harris Teague, an operations manager at Tops, told ABC News she saw the suspect sitting on a bench outside of the store for several hours Friday, the day before the shooting. He had camper bag on his back and was dressed in the same camouflage he wore Saturday, she said. He entered the store that evening, but he appeared to be bothering customers so she asked him to leave, which he did, Teague said.

The next day she was fleeing out the back door of the store as the gunman shot people in the aisles. 

“I see him with his gear on and his gun and how it was all strapped on. … I (saw) all the other bodies on the ground,” she said. “It was just a nightmare.”

Previous threat led to mental health treatment

Gendron had threatened a shooting at Susquehanna Valley High School last year and was sent for mental health treatment, USA TODAY confirmed on Sunday.