A 33-year-old man has been arrested after a robbing and stabbing spree that left four dead and two injured in South California.

Authorities said that the man went on a deadly crime spree, fatally stabbing four people and injuring two others in what seemed to be a random, hate-fuelled series of attacks.

Lieutenant Carl Whitney of the Garden Grove Police Department said that the man, unidentified, was taken to custody after being arrested on Wednesday evening at a 7-Eleven convenience store in Santa Ana, about 30 miles southeast of downtown Los Angeles.

The man allegedly stabbed a woman at an insurance company and two men at the Garden Grove apartment complex where he lived. He also stabbed another man at a Santa Ana Subway restaurant, and a security guard inside a 7-Eleven, police said.

Lieutenant Whitney also said authorities were still compiling the suspect’s criminal history but noted that he had a “violent past” and “gang associations.”

According to court records the man had been arrested several times a few years back on several drug and gun charges. He had also pleaded guilty to felony possession of an assault weapon in 2014. And in 2009 he was charged with domestic violence.

The police said they didn’t know the suspect’s motives for the homicides, but he was responsible for multiple robberies, some of which were connected to the killings.

Lieutenant Whitney said at a news conference on late Wednesday night:

“It’s just pure hate — this guy did this.”

“We know this guy was full of anger and he harmed a lot of people tonight.”

The deadly rampage began at 4 p.m. with the burglary at an apartment complex in Garden Grove, next to Santa Ana in Orange County, where the suspect lived.

At around 5 p.m., police were called back to the same apartment complex. Authorities found two men with multiple stab wounds, the same people who had initially reported the burglary.

One of the victims was pronounced dead at the apartment complex’s balcony while the other died at a nearby hospital, Whitney said.

At about 5:40 p.m., a burglary was reported at a check-cashing business in Garden Grove.

And shortly after 6 p.m., another robbery was reported at an insurance business. An employee of the company had been stabbed several times, but she’s expected to survive.

Afterward, the attacker confronted a man pumping gas at a nearby Chevron gas station. The victim was stabbed so severely, his “nose was nearly severed” off his face.

Then, the suspect drove his “silver Mercedes” to a Subway restaurant where he disarmed and stabbed a security guard.

According to Lieutenant Whitney, the suspect’s only obvious motives of his crimes appeared to be “robbery, hate, homicide.” The suspect, as well as his victims,  were all Hispanic.

The wounded victims are expected to live.