GARDEN GROVE, Calif. — A man killed four people and wounded two in a string of robberies and stabbings in California’s Orange County before he was arrested, police said Wednesday.

The 33-year-old Garden Grove man was taken into custody after dropping a knife and a gun, authorities said. His name wasn’t immediately released.

The violence appeared to be random and the only known motives appear to be “robbery, hate, homicide,” Garden Grove police Lt. Carl Whitney said at a news conference.

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

The attacks took place over about two hours in Garden Grove and neighboring Santa Ana, southeast of Los Angeles.

Whitney said police first answered a burglary report at an apartment, where no one was hurt, he said.

Whitney said a bakery was robbed, an insurance business was robbed, and a woman was stabbed several times in the back. She is expected to survive.

A caller reported watching the stabbing on closed-circuit television, Whitney said.

Police were called back to the same apartment complex, where two men had been stabbed. One died on a balcony and another died at a hospital, Whitney said.

A check-cashing business also was robbed, as well as a gas station where a man was slashed so badly that his nose was nearly severed, Whitney said.

The suspect’s silver Mercedes was tracked to the parking lot of a 7-Eleven store in Santa Ana, where a security guard was disarmed and stabbed to death, Whitney said. An employee of a nearby Subway store also was killed.

The suspect and all the victims were Hispanic, Whitney said.