The FBI has opened a domestic terrorism investigation into the California food festival shooting that left three people dead, including two children.
Officials revealed they had discovered gunman Santino William Legan's "target list" which included religious and federal buildings.
Agent John Bennett said Legan, 19, was "exploring violent ideologies" but the FBI has not yet confirmed a motive.
Police are also linking two other recent shootings to violent ideology.
An attack in El Paso on Saturday which left 22 people dead is being investigated as a domestic terrorism case. Law enforcement officials are studying an anti-Hispanic document posted online prior to the attack.
And on Tuesday, the FBI said a gunman in Dayton, Ohio, where nine people were killed on Sunday, also followed a "violent ideology". But they said they had found no evidence that the attack was racially motivated.
The shooting at the garlic festival in Gilroy was the first of three mass shootings in eight days that together claimed 34 lives and wounded more than 50.
Legan died from a self-inflicted wound shortly after the attack in California on 28 July.
Clarissa Hernandez and her son Ezra Magallanes, 11, are offering free hugs. “We wanted to give back to our community,” she says. “We want them to know we love them and we are there for them.” pic.twitter.com/eYSdyWaEYu— Lauren Turner (@thisislaurent) August 6, 2019
At a news conference on Tuesday, Mr Bennett said: "We have seen a fractured ideology. The shooter appeared to have an interest in varying competing violent ideologies."
Because of the discovery of the target list and other information, the FBI had opened a "full domestic terrorism investigation", he said.
Investigators found a list of groups from Legan's digital media "that may have been potential targets of violence", Mr Bennett said.
Officials are in the process of notifying the organisations, but will not confirm any names.
"These organisations from across the country include religious institutions, federal buildings, courthouses, political organisations from both major political parties and the Gilroy garlic festival."
Legan opened fire on festival-goers using an "AK-47-type" assault rifle he had purchased legally. Three police officers returned fire and injured Legan who then turned his gun on himself.
Authorities named the three victims killed in the attack as six-year-old Stephen Romero, 13-year-old Keyla Allison Salazar and Trevor Deon Irby, 25. Sixteen people were wounded.
According to US media, on the day of the attack Legan had urged his Instagram followers to read a 19th Century book popular with white supremacists and far-right groups. In his post he complained that towns were overcrowded by "hordes" of mixed-race people and white Silicon Valley workers.
Legan's family issued a statement to US media on Tuesday, apologising to the families of the victims and saying they were "deeply shocked and horrified by the actions of our son".
"We have never and would never condone the hateful thoughts and ideologies that led to this event, and it is impossible to reconcile this with the son we thought we knew.
"Our son is gone, and we will forever have unanswered questions as to how or why any of this has happened."
Other developments on Tuesday included:
- Ohio's Republican governor Mike DeWine, who was urged to "do something" by a crowd on Sunday night, announced some new measures including a modified "red flag" law that would allow judges to remove firearms from individuals deemed to be a danger
- Dayton's Democratic mayor Nan Whaley said she would tell President Donald Trump "how unhelpful he's been" during the president's visit on Wednesday to the site of the shooting
- In El Paso, the families of the victims have begun to speak out - and one father who lost his youngest son told the BBC he had forgiven the gunman
President Trump will visit Dayton and El Paso on Wednesday.
But he has been heavily criticised for his past anti-immigration rhetoric, and some in El Paso - a border city where many Mexican Americans live - have said he should stay away.