Authorities say a 4-year-old boy accidentally shot and killed his 2-year-old cousin at a home in Southern California.

San Bernardino County sheriff's spokeswoman Cindy Bachman says the shooting occurred Friday morning in the Muscoy area, east of Los Angeles.

The girl died at a hospital.

Bachman says adults were home at the time of the accident. Both children lived at the house.

Bachman says investigators are trying to determine how the boy got hold of the gun, who the weapon belongs to and where it was being kept.