A barricade in the Canyon Country community of Santa Clarita ended early Thursday morning after a man fatally shot himself during the standoff, authorities said.
The standoff was reported around 11 p.m. Wednesday after a resident called 911 and said a man was in the backyard, according to the Los Angeles County Sheriff's Department. Deputies said they had been searching for a wanted parolee.
Deputies arrived and at some point, the man barricaded himself inside a shed and fired several shots at the deputies, according to the Los Angeles County Sheriff's Department.
No deputies were injured.
Authorities evacuated nearby homes as a precaution.
The barricade ended around 2:30 a.m. after the man was found dead of an apparent, self-inflicted gunshot wound.
It was unclear if residents were cleared to return to their homes.