Security footage shows the moment two robbers broke into a Brentwood, California home and were shot dead by the owner.

The video, which was released by neighbor Reggie Nichols, shows the two men entering the home on the 200 block of Birch Street a little after 11pm on June 21.

Shortly after entering, flashes of light are seen inside the garage as the homeowner shoots at the two.

The homeowner is then seen chasing the two men outside and shooting at them more.

Video shows the moment two robbers broke into a Brentwood, California home last week and were shot dead by the owner

The two men are seen looking around the home's garage right before they are shot

Soon after entering the garage, bright flashes of light are seen as the homeowner shoots at the two men

The homeowner then chased the two men outside and continued shooting

When police arrived at the scene, the two robbers were pronounced dead.

Their names have not yet been released, as authorities are trying to inform their families first. Police have only described them as two men in their 30s from Antioch.

Nichols said he saw a car drive off after the shooting, suggesting that a getaway driver may be at large. But police wouldn't say whether they are seeking more suspects.

The homeowner - who is also not being identified - was briefly detained by police and then released. He was not injured in the incident.

The two men were pronounced dead at the scene. Their identities have not yet been released. Above, the home where the shooting took place

A bullet hole is seen in the windshield of a truck that was parked in the driveway at the time of the shooting

Police say they do not plan to charge him as he acted in self defense.

'The preliminary information shows it to be a home-invasion robbery,' Brentwood police Lt. Walter O’Grodnick told the East Bay Times. 'Two suspects. One with a firearm. They presented a threat, and the shooting was prompted in self-defense.'

The homeowner told police that the two men burst into his home and then demanded that he open his safe.

Tarp was set up at the scene to hide the bodies of the two men while police investigated

The home was located just 100 yards from a middle school.

Neighbors were shocked since the area is considered quiet and safe. In fact, the incident marked the first time in more than five years that there has been a homicide in the town.

'I'm ticked off, because this kind of stuff doesn't happen around here,' Nichols told the East Bay Times. 'It's a good neighborhood. It's been a really long time since something like this.'

Anyone with information on the incident is being asked to contact Det. Eric Huesman at 925-809-7735.