Santa Barbara County sheriff Bill Brown said initial reports of gunfire came in around 9:30 p.m. PT, according to local affiliate KEYT-TV.

After police responded and exchanged gunfire with the suspect, he veered into a parked car. Police found him dead, but Brown said it was unclear whether he died from the exchange in gunfire or a self-inflicted wound.

Brown did not release the suspect’s name, but he said he has been identified. He said the suspect was “severely mentally disturbed” and that this was an incident of “premeditated mass murder.” He called him a “mad man.”

“We have obtained and are currently analyzing both written and videotaped evidence that suggests this atrocity was a premeditated mass murder,” Brown said.

One witness told the station that the scene was something out of an “old western shoot-out.”

Brown said police are looking into a video posted on YouTube as possible evidence. In the video, entitled “Retribution,” a man goes on a rant against women who he says rebuffed his advances. He also makes outward threats against local residents.

Brown said police were investigating “both written and videotaped evidence that suggest this atrocity was a premeditated mass murder.”