(KRON) — A person is dead after being shot by Hayward police Wednesday night, the police department has confirmed. At the time of the shooting, the man was armed with a BB gun, according to the Hayward Police Department’s acting chief.

The shooting happened shortly after 10 p.m. off of City Center Drive.

A witness had reported that a man pointed a firearm at two females in a vehicle. Three officers responded and the man allegedly pointed the firearm in the direction of the officers. Two of the officers opened fire on the man, according to Acting Police Chief Bryan Matthews.

The man died and his identity has not been released. The officers were not injured, and found a BB gun at the scene that matched one described by the witness, Matthews said.

“Any loss of life is tragic and last night’s incident is no exception,” Matthews said at a news conference Thursday.

The Alameda County District Attorney’s Office, Hayward PD and an independent consultant are investigating the case, according to police. All three officers are believed to have had body worn cameras on at the time of the shooting.

Bay City News contributed to this report.