At least 12 people have been killed, including a police officer, at a country music bar in Thousand Oaks, California.
The shooting began at 23:20 local time on Wednesday about 40 miles (65km) north-west of Los Angeles, police say.
At least 200 people were reportedly inside the Borderline Bar and Grill, which was hosting a university student night, at the time of the attack.
Officials say the suspect, who has not been identified, was found dead inside.
They have not yet confirmed any motive behind the attack.
President Trump tweeted on Thursday morning to say he been briefed on the shooting, describing it as "terrible", and praising the bravery of the police officers involved.