A YouTube video thought to be linked to the shootings in California sees a young man claiming he will get "retribution" for a lack of interest shown in him by women.
The footage shows a young man complaining that it is "unfair" that he is still a virgin before threatening a mass slaughter of college students and Isla Vista residents.
"It's obviously the work of a madman," the sheriff said of the shooting. "There's going to be a lot more information that will come out that will give a clearer picture of just how disturbed this individual was."
More top news
British cyclist Simon Yates has failed drug test but his team are blaming an "administrative error" over an asthma inhaler.
Two ambulances crashed leaving one driver dead and three people seriously injured.
A scandal-hit NHS trust where a teenager drowned in the bath is still failing to protect patients from risk of harm, a watchdog has found.