HAYWARD (CBS SF) — An armed suspect was killed early Saturday morning in a confrontation with Alameda County Sheriff’s deputies and local residents in a neighborhood in unincorporated Hayward.

The Alameda County Sheriff’s said the incident took place at 4 a.m. in 24900 block of Second St. near Hayward High School.

Deputies were called to the location and were confronted by an armed suspect.

The sheriff’s department later tweeted “We can confirm the suspect fired at our deputy first, narrowly missing him and almost striking him in the head with a bullet.”

Detectives and crime lab personnel were on the scene.

Developing story, updated as information is made available.