A gunman has killed six people in drive-by shootings near the Californian city of Santa Barbara, US police say.
The shootings took place late on Friday in Isla Vista near the University of California-Santa Barbara campus.
The suspected gunman was found dead in his car with a bullet wound. It is unclear whether it was self-inflicted.
Police are looking into a possible link with a Youtube video in which a young man complains of repeated rejection by women and threatens to take revenge.
Seven other people are in hospital, and being treated for bullet wounds.
The shootings occurred at several sites in the town of Isla Vista, and there were nine crime scenes, police said.
They say they were alerted to shootings around 21:30 on Friday (04:30 GMT on Saturday). Six minutes later, the suspect and responding officers exchanged gunfire.
The suspect fled and eventually crashed into a parked vehicle. He was found dead in his car with a bullet wound to the head.
A student told local TV station KEYT he saw shots fired from a BMW, fatally striking one woman and critically injuring another.
"I heard shots, scream, pain," the witness, Michael Vitak, said.
Santa Barbara County Sheriff Bill Brown told reporters: "We have obtained and are currently analysing videotaped evidence that suggests that this atrocity was a premeditated mass murder."
He said police were familiar with a YouTube video entitled Elliot Rodger's Retribution, in which a man says he is aged 22 and vows revenge on women, with whom he says he has never had an intimate experience.