SAN LEANDRO — An Oakley man who works as an AC Transit bus driver was arrested on suspicion of two firearm-related charges after a loaded handgun was found on him, authorities said Wednesday.

On Tuesday afternoon, sheriff’s deputies learned from transit management that a driver had emailed a supervisor to say he would be carrying a gun out of fears for his safety, Alameda County sheriff’s Sgt. Ray Kelly said.

A uniformed deputy dispatched to meet the driver located him during a layover at a bus stop at the Bay Fair BART station and found a loaded 9mm Glock handgun, Kelly said.

The driver, identified as Stephen Williams, 53, of Oakley, was arrested on suspicion of carrying a concealed firearm and carrying a concealed loaded firearm. Both charges are misdemeanors. After Williams was booked into Glenn Dyer Jail, he posted bail and left custody.

“We have had incidents of bus drivers being victims of assault and other crimes, in addition to passengers as well,” Kelly said. “We provide police services to AC Transit and respond to in-progress calls on buses, often radioed into us by drivers.”

Start your day with the news you need from the Bay Area and beyond.

Sign up for our new Morning Report weekday newsletter.

In a case last March, a man was arrested after an unprovoked attack against a bus operator at the South Hayward BART station.

In February, an NBC Bay Area report said AC Transit drivers contest management statements alleging that attacks on drivers have fallen in the last two years.

Officers have presented a case to the Alameda County district attorney’s office for review, Kelly said.

Contact George Kelly at 408-859-5180.