Three people were on Wednesday shot dead and others injured by a gunman in California in the United States of America.

Speaking on social media, the Orange County Sheriff said the shooter also died after what appeared to have been an intervention by law enforcement.

"Confirmed 4 deceased at scene, inc. the shooter. 6 transported to hospitals, 5 reported (with) gunshots. Officer-involved shooting occurred during the incident. No deputies injured."

Around 45 miles (72 km) southeast of Los Angeles, a shooting occurred at the Cook's Corner pub, a hangout popular with bikers.

According to sources cited by The Orange County Register, a marital disagreement was the cause of the event.

The article said that the shooter was a former member of law enforcement.