A gunman killed 12 people, including a deputy sheriff, when he opened fire in a bar in Southern California on Wednesday night, Ventura County Sheriff Geoff Dean said on Thursday. Many other people were wounded in the attack in Thousand Oaks, a Los Angeles suburb.

The police said the suspect had not been identified, that the authorities had “no idea” whether he had links to terrorism, and that it was not clear if he had taken his own life.

Police have released few details and the accounts about the incident in Thousand Oaks, a Los Angeles suburb, varied widely.

A Ventura County Fire Department spokesman said there were “multiple injuries,” and that rescuers and police were still on the scene at the Borderline Bar and Grill, a Country & Western- themed establishment.

The Ventura County Star reported that at least four ambulances were at the scene early Thursday to treat the victims.