A man was shot dead by the police in Stockton, California after he allegedly opened fire inside a police department’s parking lot, FOX News reported.

The suspect has even charged authorities who tried to confront him.

According to a police statement, the bold shooting happened after the man “arrived at the front parking lot” and started shooting.

The man was fatally shot by multiple Stockton Police Officers. Nearby medics declared him dead.

All officers in the police headquarters are safe.

Stockton police said they recovered a gun at the scene. (Stockton Police Department)

Citing the police department’s Chief Eric Jones, ABC 10 reported that the gunman is said to have come into the police headquarters at about 8:30 in the evening. He stayed in the vehicle but exited it and began shooting inside the parking lot.

Police officers confronted him, but he charged the authorities and was shot.

“I have not seen anything like this,” the police chief told ABC 10. He said the shooting happened shortly after a plaque for a fallen police officer was unveiled. “I’ve been here nearly 30 years with Stockton PD, nearly 10 years as police chief, and for somebody to come right in to the police department like this and fire the weapon and then charge right at the officers with the weapon is very unique.”

Hours before the shooting, officers dedicated a plaque in memory of Officer Jimmy Inn, who was killed earlier this year. (Stockton Police Department)