Three people were killed and more were injured Thursday during a “crime spree” of stabbings and vehicle collisions in the San Jose, California, area, officials say.

Police were able to take a suspect into custody after he carried out multiple “random” attacks and carjackings in the cities of San Jose and Milpitas, law enforcement said.

“We ended the crime spree,” Milpitas Police Chief Jared Hernandez said at a news conference Friday. “We were able to effectively prevent additional people from being injured.” 

The suspect, Kevin Parkourana, is in custody on multiple homicide charges and carjacking charges after surrendering to officers on the streets Thursday evening, police said.

“We believe that these were all intentional acts,” said San Jose Police Chief Anthony Mata Friday. “Both the carjackings and the vehicle collisions.”

On Thursday, the suspect intentionally drove toward pedestrians and struck them with his vehicle, according to a San Jose Police Department press release.

Three people were also stabbed by Parkourana, 31, on Thursday, police alleged at a Friday press conference.

Police have not been able to identify any connections between the victims and said the attacker appears to have randomly targeted them, acting alone.

“We believe that the suspect we have in custody is the sole suspect responsible for the violent crime that occurred yesterday,” Mata said Friday.

Parkourana was on probation and had felony and misdemeanor convictions, according to Mata.