SANTA CLARA — A Santa Clara County Sheriff’s deputy is facing the end of his law-enforcement career when he is sentenced next week for drunkenly flashing a gun at a Jack in the Box drive-thru in early 2016.

Benjamin Jae Lee, 34, was convicted by a jury June 29 of one count of brandishing a firearm and two counts of driving under the influence of alcohol, all misdemeanors, according to court records.

“Lee undermined the public trust in law enforcement,” said Deputy District Attorney George Tran. “We want to see that justice is served in this case, and that he is held accountable to the criminal charges and is sentenced appropriately.”

Get top headlines in your inbox every afternoon.

Sign up for the free PM Report newsletter.

Tran said Lee faces a minimum of 90 days in jail when he appears for sentencing Aug. 18 before Judge Vanessa Zecher. Lee has been out on bail since his January 2016 arrest, and has been on paid administrative leave from the Sheriff’s Office.

In a statement, the sheriff’s office said it is “waiting for the completion of the criminal case before completing the personnel matter.”

The most costly part of the possible sentence is a probation recommendation that would ban Lee from possessing a gun for 10 years, which would disqualify him from virtually all sworn law enforcement jobs. His attorney, Jim McManis, said he plans to appeal the verdict.

“I was very disappointed in the verdict. We will appeal the verdict,” McManis said. “This has devastating consequences for Ben. It means his career as a deputy sheriff is over.”

McManis takes issue with the events as they were presented in court, and portrayed what he called a hasty verdict as a blow to community safety.

“He had an excellent service record. His performance reviews were all outstanding,” he said. “That’s a terrible loss for our community.”

Tran countered by saying the case clearly laid out why Lee was not fit to protect the public.

“He has the duty to protect the public and this incident alone shows his bad judgment, not just for driving under the influence,” Tran said, “but the dangerous ability to cross that fine line, breach public trust, and use his gun in an abusive, bullying and criminal manner.”

The case revolves around a Jan. 10, 2016 encounter at the Jack in the Box on El Camino Real, north of Santa Clara University, when an off-duty Lee apparently grew frustrated at the speed of the drive-thru line at about 2:40 a.m.

Witnesses said Lee, who had been second in line at the drive-thru lane, appeared frustrated at the delay and at some point brandished a gun, prompting restaurant staff to call police.

Bystander video of the response from Santa Clara police shows Lee eventually emerging from his Audi sedan, his hands raised, and walking backward toward the officers until he is taken into custody.

Like our Facebook page for more conversation and news coverage from the Bay Area and beyond.

McManis challenged that account, questioning the memory of the drive-thru teller and his supervisor who testified for the prosecution. McManis contends that Lee’s gun was never brought out, and that the teller simply saw Lee’s holstered weapon and panicked.

The defense also asserted that Lee was not drunk, citing how the DMV restored his driving privileges following the incident.

“I hope the judge will take all that into consideration, but we’ll just have to see what happens,” McManis said. “This is definitely not the last chapter of this book.”