OROVILLE — A man who allegedly opened fire outside a home before leading police on a chase Tuesday in South Oroville, was drunk and told his girlfriend he “wanted to commit suicide by cop, or kill some people,” according to prosecutors.

The man, 35-year-old Gary Cartwright II of Magalia, is alleged to have fired at a car before leading police on a high-speed chase with a blood alcohol content of 0.22 percent, according to court documents filed in Butte County Superior Court.

Cartwright has been charged with shooting at an unoccupied vehicle, kidnapping with a firearm, fleeing a pursuing peace officer’s vehicle while driving recklessly, three counts of unlawful possession of an assault weapon, unlawful possession of a large-capacity magazine and driving under the influence of alcohol.

He did not immediately enter a plea at his initial court appearance Thursday. He is scheduled for further arraignment proceedings Wednesday.

Cartwright remained in custody with bail set at $1 million.

Cartwright’s charges stem from an incident that happened about 4:50 p.m. Tuesday in the 2800 block of Wyandotte Avenue in Oroville, Oroville police have said.

Officers responded to the scene following reports of a possible drive-by shooting, police said. Minutes later, police spotted a car matching the suspect’s description and pursued it to a restaurant parking lot in Oroville.

There, officers detained Cartwright and allegedly found in his vehicle multiple firearms and several hundred rounds of ammunition, police said. Most of the firearms, including handguns, rifles and a 12-guage shotgun, were loaded.

During the pursuit, police said, a female passenger whose name has not been released exited the vehicle. Police said it’s believed she could have been held against her will.

Police said Cartwright fired 4-5 shots near the Wyandotte Avenue home, and no one was reported hurt.

According to court documents filed by the District Attorney’s Office, Cartwright allegedly fired a gun at a vehicle and threatened a victim with a firearm.

Cartwright also damaged a police vehicle following his arrest and admitted making hundreds of thousands of dollars through a marijuana cultivation site.

His prior criminal convictions allegedly include two DUIs, domestic violence and dissuading a witness, according to prosecutors.