President Joe Biden traveled to the scene of the violence on Tuesday in response to the horror in the United States at the racially motivated gun attack that killed ten people in upstate New York.

The President and his wife wanted to visit the city of Buffalo "to mourn with the community who lost ten lives in this senseless and appalling" attack, the White House said on Sunday (local time).

UN Secretary-General António Guterres also condemned the "disgusting act of racist violent extremism".

Investigators are now clearly assuming racist motivation for the 18-year-old white attacker on a supermarket in Buffalo on Saturday.

"The evidence found so far shows without a doubt that this is a totally racist hate crime," Buffalo Police Department Joseph Gramaglia said Sunday.

Ten people were shot dead and three others injured in the violence;

almost all of the victims were African American.

The attacker, who initially broadcast his act live on the Internet, opened fire in front of and inside a supermarket.

The perpetrator had previously scouted out the area, which was mostly inhabited by blacks, as Gramaglia said.

He drove more than 320 kilometers from his home to Buffalo to carry out his attack there.

He was wearing a bulletproof vest and helmet and was firing an AR-15 assault rifle.

The man was arrested and charged with murder.

According to Gramaglia, he had previously been summoned for a brief psychiatric evaluation for "general threats" against his school.

Offenders 'inspired' by Christchurch crimes

According to American media reports, the authorities are examining a 180-page "manifesto" by the perpetrator, which is said to have been published on the Internet before the attack and in which the man explains his intentions and his racist motives.

The "New York Times" reported, citing this text, that the attacker was "inspired" by the attacks on two mosques in Christchurch, New Zealand, which killed 51 people in 2019.

Shocked residents gathered in front of the supermarket for a vigil.

New York Gov. Kathy Hochul, Attorney General Letitia James and Buffalo Mayor Byron Brown attended a service Sunday.

Hochul described the violence as an "execution of a military nature."

James, who is African American, said the attack was "domestic terrorism, plain and simple."

Brown emphasized that the perpetrator had specifically wanted to wipe out "as many black lives as possible".

Another gun attack on Sunday, this time in a church in California, caused renewed horror.

One person was killed and five others were injured, some seriously, by gunfire.

According to police, the attack was carried out by a man of Asian descent.

The Orange County police said on Sunday (local time) that the 60-year-old man was still being investigated.

According to a report by the Los Angeles Times, the victims were mostly of Asian origin, most of them from Taiwan.

Devotees at the church in the town of Laguna Woods, about 70 kilometers south of Los Angeles, were gathering for an after-church meal when the attack began, police said.

According to this, the believers were able to overpower the attacker and hold him until the police arrived.

The churchgoers "tied his legs with an extension cord and seized at least two weapons," Hallock said.

"This group of churchgoers showed extraordinary heroism and bravery." The faithful would probably have prevented further injuries or deaths.