The incident occurred at about 9:15 p.m., as schools police officers were on patrol near the Joaquin Miller Community Center in Joaquin Miller Park, where Skyline High School was holding its winter ball, said Oakland School Police Chief Pete Sarna.
The officers approached a suspicious vehicle, where a man and woman were sitting inside. As they approached, the man produced a screwdriver and tried to stab one of the officers. The other officer, thinking first officer was in danger, open fired on the suspect, killing him.
The woman was not injured but was transported to the hospital for observation.
Both officers were placed on administrative leave, which is standard procedure during an investigation.
The shooting is believed to be the first fatal officer-involved incident in recent memory.