BUFFALO, N.Y. — Vigils, prayer services and rallies were held across the city Sunday after authorities said a gunman, wearing tactical gear and a livestreaming camera, killed 10 people and wounded three more in a hate-fueled shooting rampage at a busy supermarket.

Eleven of the 13 people who were shot Saturday at the Tops Friendly Markets were Black, Buffalo Police Commissioner Joseph Gramaglia said. The suspect, who was taken into custody at the scene, is white. The FBI is investigating the shooting as a hate crime and racially motivated violent extremism. 

The suspect, Payton Gendron, 18, was charged with murder and officials said they will weigh additional charges in the coming days. 

“This individual came here with the express purpose of taking as many Black lives as he could,” Buffalo Mayor Byron Brown said at a news conference Sunday.

Gendron threatened an attack at his high school last year, resulting in a referral for a mental health evaluation, a law enforcement official told USA TODAY on Sunday. The incident was reviewed by state authorities at the time. The official, who is not authorized to comment publicly, said the suspect’s parents were cooperating with authorities.

Gramaglia said all victims had been identified and families notified. The names could be released late Sunday or Monday, he said.

Voice Buffalo and other equity advocacy groups organized a vigil near the shooting scene that drew a crowd of hundreds Sunday morning. Among the speakers was the Rev. Mark Blue, president of the Buffalo NAACP, who called for unity among residents of all races.

Blue said everyone must “continue to support those who have been victimized by this heinous act” of racism.

Some of the crowd marched in the area near the store Sunday morning, chanting statements such as, “This is what community looks like” and, “We are mourning, we are hurt.” 

“A lot of people know each other in this community,” said Michael Ray of Buffalo, who lives about a mile from the Tops store, where he’s also a regular customer. “We’re all intertwined. That’s what makes this so hurtful, honestly.”

Here’s what we know:

DEADLY BUFFALO SUPERMARKET SHOOTING:What we know about the suspec

FBI investigates alleged 180-page manifesto

The suspect was identified by authorities as Payton Gendron, 18, of Conklin, New York. 

Federal agents interviewed Gendron’s parents and were working to confirm the authenticity of a 180-page manifesto that was posted online, a law enforcement official told The Associated Press on Sunday.

The manifesto detailed the plot and identified Gendron by name as the gunman, said the official, who is not authorized to publicly discuss details of the investigation and spoke to AP on condition of anonymity. The document espoused the belief that the U.S. belongs only to white people and all others should be eradicated by force or terror, which was the purpose of the attack.