SAN JOSE — A former San Jose code-enforcement officer who worked for the city as recently as last year is now sitting in a jail cell after investigators alleged that he sexually assaulted and then extorted at least five business owners while on the job, according to San Jose police.

William Gerry has been arrested on suspicion of sexually assaulting and extorting five business owners while working as a code-enforcement inspector with the City of San Jose, according to police. (San Jose Police Dept.) 

William Gerry, 45, was served a search warrant at his current home in McKinney, Texas, and on Wednesday traveled to the Bay Area to surrender, police said. He was booked into the Elmwood men’s jail in Milpitas, where he is being held without bail, according to jail records.

Gerry worked for city code enforcement from 2007-2019, according to police. The SJPD sexual assaults investigation unit began looking at him in response to five people reporting that they had been sexually assaulted by Gerry while he was on duty performing inspections for San Jose.

The victims also alleged that Gerry extorted them. The booking offenses for Gerry are multiple counts of sexual assault, extortion, and asking for and receiving a bribe, according to police.

Detectives obtained a warrant for Gerry and coordinated with the Collin County Sheriff’s Office and McKinney Police Department near the suspect’s current Texas residence to serve him with the warrant.

Price & Product Availability Tracker

Discover where products are available & compare prices

Additional details, including when the alleged crimes occurred and their circumstances, were not immediately released by police. Court records show that a felony criminal complaint was filed against Gerry in late September.

A request for comment from the city’s code-enforcement department was not immediately returned Thursday.

Anyone with information about this case or other potential crimes associated with Gerry can contact Detective Benjamin Lam at 408-277-4102 or leave a tip with Silicon Valley Crime Stoppers at 408-947-7867 or at

Check back later for updates to this story.