Police in Southern California released horrific surveillance footage on Thursday showing an alleged 33-year-old gang member violently stabbing a woman at an insurance agency during a gruesome crime spree in which four people were killed and two others wounded.

The video’s time stamp shows that at around 6pm on Wednesday, a man in a dark-colored hooded sweatshirt, blue jeans, and blue t-shirt underneath walked into the Best One insurance agency in Garden Grove, California.

The man initially appears to be carrying a small over-the-shoulder knapsack.

He then approaches the front desk, where a woman is sitting near a computer.

WARNING: GRAPHIC VIDEO

Surveillance footage released by the Garden Grove Police Department on Thursday shows an armed robbery and stabbing at the Best One Insurance Agency on Wednesday

The assailant is seen above holding a large knife in each hand. He approaches a 54-year-old employee seated at her office desk

The assailant stabs the woman several times as he violently swings his arms downward toward the woman who is trying to ward him off

Police said the woman was 'very brave' and 'fought the best she could' during the violent assault

The woman managed to get away and take cover in the back of the office. He then grabs a fistful of cash from the teller window and leaves

Police allege the man in the video is Zachary Castaneda, 33, a 'violent' gang member who has been to prison 14 times since June 2016. He was arrested on Wednesday night outside a 7-Eleven store in Santa Ana after an alleged two-hour rampage during which four people were killed and two were injured

After a few seconds of chit chat, the man then unzips his knapsack and removes two large knives.

He grips a knife in each hand, walks around the woman’s desk, and approaches her as she is sitting down.

The woman raises both of her hands in the air as if to defend herself while the knife-wielding man moves to within a foot or two of her.

The man, who is standing over the seated woman, then begins to make swift stabbing motions toward her while she desperately tries to defend herself.

Within a matter of seconds, the man makes a dozen stabbing attempts. Somehow, the woman managed to get up from her desk.

On the video, it doesn’t appear that she suffered any noticeable injuries, though in reality she had been stabbed multiple times.

She moved to the back of the office and took cover behind chairs and desk while the knife-wielding man moved toward her.

As the woman cowers in the corner, the man begins to backtrack. He then moves toward what appears to be a cashier window and grabs wads of cash before bolting out the door.

The stabbing in the video took place at the Best One Insurance Agency in Garden Grove, California on Wednesday

Police said the woman in the video is a 54-year-old employee who was stabbed several times and was expected to survive.

The woman 'was very brave,' police said. 'She fought as best she could.'

An alarm company saw the robbery on a live television feed and called police.

The man fled with cash and also robbed a check-cashing business next door, authorities said.

The footage was released on Facebook by the Garden Grove Police Department.

Authorities say the man in the video is Zachary Castaneda, a gang member with a violent criminal record who has been to prison 14 times since June 2016.

Castaneda allegedly robbed the insurance agency and stabbed the woman as part of a frantic, bloody two-hour crime spree that left four people dead and two others wounded.

Castaneda 'could have injured or killed many other people' had he not been arrested Wednesday while carrying out attacks and robberies during the two-hour wave of violence that began in Garden Grove, the city's police Chief Tom DaRe said.

It wasn't immediately known if Castaneda, 33, had a lawyer who could speak on his behalf. He was scheduled to be arraigned Friday.

Castaneda was taken into custody when he walked out of a convenience store in the neighboring city of Santa Ana, dropping a knife and a gun he had taken from a security guard he had just killed, police said. The suspect was covered in blood, DaRe said.

Castaneda is seen above as he is being taken into custody by police outside the 7-Eleven where he had allegedly killed a security guard with a gun he'd taken off him

Authorities say Castaneda went on a bloody crime spree that included four murders, two attempted murders, four armed robberies, and a home burglary in the Orange County towns of Santa Ana and Garden Grove

Santa Ana police pin Castaneda up against the hood of a police cruiser during his arrest on Wednesday

Castaneda was kept in restraints as detectives tried to interview him, the chief said at a press conference.

'He remained violent with us through the night,' DaRe said. 'He never told us why he did this.'

Castaneda has a conviction for possession of meth for sale while armed with an assault rifle, DaRe said.

Investigators were still putting together his entire criminal history, he said.

Police said court records indicated that Castaneda had been to prison 14 times since June 2016.

He is said to have a criminal record dating back to 2004, according to authorities.

Officials didn't specify what crimes sent Castaneda to prison or when he was released.

The violence appeared to be random and the only known motive seem to be 'robbery, hate, homicide,' Garden Grove police Lt. Carl Whitney told reporters.

Whitney said police had previously gone to Castaneda's Garden Grove apartment to deal with a child custody issue.

The suspect's mother had been living with him and had once asked police how she could evict her son, he said.

The attacker and four of the victims were described as Hispanic, while two victims were described as white, police said in a statement.

Initially, all had been described as Hispanic. There was no indication this was a hate crime, DaRe said.

The two people who were wounded were expected to survive.

He was arrested outside a 7-Eleven store (above) in Santa Ana after he came out and dropped a knife and a gun that he had taken from a security guard before fatally stabbing him

One of the dead was identified by his son as a hard-working immigrant originally from Romania.

Erwin Hauprich said in a telephone interview that his father, Helmuth Hauprich, 62, called him Wednesday afternoon and told him his Garden Grove apartment had been burglarized.

The father said his passport, green card, sword collection and even a dining table were taken.

Erwin Hauprich said his father never called back and he went to check on him after hearing there had been a stabbing at the complex.

A police officer told him that Helmuth Hauprich had been taken to the hospital, where he died, the son said.

He said he was told his father's roommate was killed in the apartment.

A body was removed from the complex by stretcher Thursday.

Erwin Hauprich said his father left Romania first for Germany and then the United States more than two decades ago.

He said his father worked on an assembly line and lived in the complex for years.

He said Helmuth Hauprich was a down-to-earth man who strove to make a life for his family.

So far police have identified one of the victims killed in the crime spree - Helmuth Hauprich (right). Hauprich (seen with his son, Erwin, on the left) and his roommate were fatally stabbed after their Garden Grove apartment had been burglarized

The image above shows the inside of M Bakery in Garden Grove, which police say was robbed by Castaneda

Police said surveillance cameras caught some of the carnage.

'We have video showing him attacking these people and conducting these murders,' Whitney said.

Whitney said the man lived in a Garden Grove apartment building where he stabbed two men during some kind of confrontation. One man died inside and the other at a hospital.

He said that the crime spree began when Castaneda robbed a home on the 12100 block of Jentges Avenue in Garden Grove just after 4pm on Wednesday, KCBS-TV reported.

Some 20 minutes later, Whitney said the M Bakery also was robbed.

The bakery owner, Dona Beltran, said she was sitting in her car charging her cellphone when she saw a tattooed man get out of a Mercedes and go inside the business.

Beltran, 45, followed him inside to offer help, but kept quiet when she saw him trying to open the cash register.

She then ran out of the shop and yelled she was being robbed before taking refuge in a nearby dental office, she said.

He ended up taking the entire register with him, which had about $200, she said.

Castaneda is also also alleged to have robbed an insurance business, where a 54-year-old employee was stabbed several times and was expected to survive

'I saved myself because I was in the car,' she said in Spanish on Thursday.

'Thank God I am alive.'

After robbing the bakery, police said that Castaneda returned to the residence that he initially burglarized. It was there that he found two men outside an adjacent apartment.

At around this time, police received a report of two male roommates stabbed outside their apartment on Jentges Avenue.

Officers found one man down on the ground outside of the apartment and another victim inside the residence.

The suspect is then alleged to have robbed the insurance business.

Afterward, the attacker drove up to a Chevron station, where he attacked a 44-year-old man pumping gas 'for no reason,' police said

Afterward, the attacker drove up to a Chevron station, where he attacked a 44-year-old man pumping gas 'for no reason,' Whitney said.

The man was stabbed in the back and 'his nose was nearly severed off his face,' the lieutenant said.

Undercover detectives tracked the suspect's silver Mercedes to the parking lot of the 7-Eleven in Santa Ana and within a minute the man emerged from the store, carrying a large knife and a gun that he had cut from the belt of a security guard after stabbing him, Whitney said.

Police ordered the man to drop his weapons and he complied and was arrested.

Police then learned that a male employee of a nearby Subway restaurant also had been fatally stabbed during a robbery, Whitney said.

On July 22 - two weeks before Wednesday's alleged crime spree - Castaneda pleaded guilty to a felony count of carrying a knife in addition to misdemeanor counts of drug possession.

He also pleaded guilty to a misdemeanor count of driving with a suspended license.

On July 9, he pleaded not guilty to eight felony counts of criminal gang vandalism and misdemeanor counts of possession of drug paraphernalia.

Authorities said that Castaneda had been released from state prison after the California State Legislature passed AB 109.

Signed into law in 2011, the purpose of the legislation was to reduce the state's prison population by either sending certain inmates convicted of less serious felonies to county jails or putting them under the supervision of county probation officers.

Police surrounded several businesses after the two-hour crime spree across Orange County and Santa Ana

'Based upon his prior arrest record, he is a violent individual who should have never been considered for early release based on Assembly Bill 109,' DaRe said.

'As a police chief, I implore our policy makers to reconsider their policies on criminal justice.

'The pendulum has swung so far that it is increasingly difficult to keep our communities safe from the rise in violent crime.

'California law enforcement agencies have been crippled by Assembly Bill 109 and offenders are not being held accountable for their crimes.'

The brutal and puzzling attack came just days after a pair of mass shootings in Texas and Ohio left 31 people dead and stunned the nation.