Media playback is unsupported on your device Media caption Garlic festival gunman "had hit list" - FBI

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.

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.

Media playback is unsupported on your device Media caption California attack: "People were running out, screaming and yelling"

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."

Media playback is unsupported on your device Media caption One US sheriff campaigned for so-called red flag laws - the other refuses to enforce them.

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

Media playback is unsupported on your device Media caption Gilbert Anchondo says he forgives his son's killer

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.

More on the US and guns