The suspect has been identified as Chunli Zhao, according to San Mateo County Sheriff Christina Corpus.
The spelling of the suspect’s name was provided to CNN by San Mateo County Board of Supervisors President Dave Pine.
“Zhao was located in his vehicle in the parking lot of the Sheriff’s Office Half Moon Bay Police Substation by a sheriff’s deputy. Zhao was taken into custody without incident and a weapon was located in his vehicle. Zhao is believed to have acted alone,” according to a news release from the sheriff’s office.
Zhao is currently in the custody of the San Mateo County Sheriff.
It is unknown when he will appear in court.