A woman shot and wounded three people at YouTube’s headquarters in Northern California before killing herself, police say.
US media have named the suspect as Nasim Aghdam and said the incident is the result of a domestic dispute.
A 36-year-old man left in a critical condition is believed to be her boyfriend, CBS news reports. Two women, 32 and 27, were also shot.
But police are yet to comment on the motivation for the shooting.
Such “active shooter” incidents are overwhelmingly carried out by men – an FBI report found that out of 160 incidents between 2000-2013 only six of the people who opened fire were women .
How YouTube shooting unfolded online
The suspect is reported to have approached an outdoor patio and dining area near lunchtime and opened fire with a handgun.
San Bruno Police Chief Ed Barberini said officers arrived at the offices 12:48 (19:48 GMT) local time to find a “chaotic scene” with numerous people fleeing.
Images broadcast on local TV stations showed employees leaving with their hands raised. Other footage appeared to show evacuees forming a queue before being individually frisked by police.
One person with a bullet wound was found at the front of the company headquarters, Mr Barberini said. Minutes later officers found a woman who appeared to have shot herself, he said.
Two further victims were later discovered at a nearby business.
An employee at a nearby fast food restaurant told Fox station KTVU he had treated a young woman who suffered a bullet wound to the leg.
He said he had fashioned a makeshift tourniquet from a bungee cord as they waited for first responders.
Several YouTube employees tweeted about the attack as it was taking place.
We were sitting in a meeting and then we heard people running because it was rumbling the floor. First thought was earthquake.
— Todd Sherman (@tdd) April 3, 2018
Product manager Todd Sherman said people fled the building in panic as the shooting unfolded.
Another employee, Vadim Lavrusik, tweeted he was barricaded in a room with other staff. He later said he had been evacuated.
Active shooter at YouTube HQ. Heard shots and saw people running while at my desk. Now barricaded inside a room with coworkers.
— Vadim Lavrusik (@Lavrusik) April 3, 2018
The three wounded were taken to Zuckerberg San Francisco General Hospital. Officials said the 32-year-old woman’s condition was serious and the 27-year-old’s condition was fair.
A fourth person was also taken to hospital with an ankle injury sustained while trying to escape, Mr Barberini said.
Some 1,700 people work at the YouTube HQ. The company is owned by Google and is the area’s biggest employer.
Who was the suspect?
Several US media outlets identified the suspect as Nasim Aghdam, 39, a Californian resident of Iranian descent.
She appeared often on YouTube and in one of her videos criticised the platform for discriminating against and filtering her posts.
YouTube terminated her account following the shooting. Her Instagram and Facebook accounts have also been removed.
On her personal website she accused YouTube of taking steps to prevent her videos from getting views.
“There is no equal growth opportunity on YouTube or any other video sharing site. Your channel will grow if they want to!” she wrote.
What’s the reaction been?
YouTube spokesman Chris Dale praised the police response to the incident.
“Today it feels like the entire community of YouTube and all of the employees were victims of this crime. Our hearts go out to those who suffered in this particular attack,” he said.
Another online giant, Twitter, said it was horrified by the shooting and said it was monitoring instances of misinformation.
We are also aware of attempts by some people to deceive others with misinformation around this tragedy. We are tracking this and are taking action on anything that violates our rules.
— Twitter Safety (@TwitterSafety)
April 3, 2018
President Trump said he had been briefed about the incident.
Was just briefed on the shooting at YouTube’s HQ in San Bruno, California. Our thoughts and prayers are with everybody involved. Thank you to our phenomenal Law Enforcement Officers and First Responders that are currently on the scene.
— Donald J. Trump (@realDonaldTrump) April 3, 2018