Dublin police responded to an officer-involved shooting Friday morning, according to the Alameda County Sheriff's Office.
The shooting happened around 9:30 a.m. Friday in the 7500 block of Frederiksen Lane, sheriff's Sgt. J.D. Nelson told Bay City News.
Nelson told NBC Bay Area that a man called 911 to report that his son was acting bizarrely.
When the officer arrived, the 28-year-old son was in the driveway with a 12-inch "Rambo" style knife, according to Nelson. The man charged at the officer and the officer shot him, Nelson said. The officer was not hurt.
The suspect was taken to a nearby hospital with non-life threatening injuries.
Investigators said the deputy involved in the shooting was an Alameda County sheriff's deputy assigned to Dublin as a police officer.
The suspect, who investigators did not name, has a history of mental issues and created a similar disturbance with a knife in the middle of the street last month.
There is a school nearby, Frederiksen Elementary on Tamarack Drive, but Nelson said the shooting did not involve the school in any way.