A gunman live streamed himself on Facebook yesterday shooting at sheriff's deputies in Los Angeles moments before he was arrested by a SWAT team.

Sean Vasquez, 20, filmed himself as police sirens can be heard coming closer. He had apparently been shooting at passing cars, triggering the response from sheriff's deputies.

Vasquez, wearing an orange and blue plaid shirt, mutters into the camera: 'They're here, they know where I am.'

Sean Vasquez, 20, filmed himself as police sirens can be heard coming closer. He had apparently been shooting at passing cars, triggering the response from sheriff's deputies

At one point an armored paramedic truck was sent in to evacuate elderly residents who had been caught up in the drama.

Vasquez can be seen firing several shots at the deputies, who scream at him to lay down his weapon and come out with his hands up.

Looking at the camera on his cellphone as he live streamed the incident, Vasquez repeatedly says: 'I'm sorry guys.'

At the end of the video he poses with his handgun, looks directly into the camera and says: 'F*** the cops, esé.'

The San Gabriel Valley Tribune reported that in another live streamed video Vasquez stuck his tongue out, brandishing his pistol and appeared to refer to himself as 'Big Slick Low'.

But two hours later he could be seen talking to a police negotiator and shouting: 'Tell your men to stand back, I'll f***ing walk out surrendering.'

Vasquez points the gun at his own head and threatens suicide, adding: 'Tell them to back off. I'll shoot my f***ing face off right now.'

But seconds later he surrendered to the SWAT team.

At one point an armored paramedic truck was sent in to evacuate elderly residents who had been caught up in the drama

Vasquez can be seen firing several shots at the deputies, who scream at him to lay down his weapon and come out with his hands up

He was arrested on suspicion of assault with a deadly weapon and detained on a $1million bond.

Los Angeles County Sheriff's Lieutenant Elisabeth Sachs said: 'He was shooting at cars passing by.'

She said: 'Deputies did not return fire based on the suspect's concealed location near a house.'

Cindi Arp, who lives in the neighborhood, said she heard gunshots and added: 'My husband called me five minutes later and said "You left at the right time. We have an active shooter".'

Vasquez is due to appear at the West Covina branch of Los Angeles County Superior Court tomorrow.