In his final full year as a San Jose code enforcement inspector, Bill Gerry made $178,000 dollars in pay and benefits. He resigned last year, moved to Texas with his wife and kids, and became active in the church, hosting regular prayer and song sessions on Facebook.
RELATED: San Jose Police Dept. hit with federal civil rights lawsuit over injuries to protesters
Now, he's back in San Jose, but behind bars, charged with 14 felony counts of extortion, bribery, rape and other sex crimes. Gerry is accused of preying on the owners of the massage parlors he was inspecting.
"He would ask for money to grant permits or to overlook certain code violations. For other victims, when money wasn't an option, or if sex was an alternative, Mr. Gerry would also take that as payment, without the consent of the victims," said Santa Clara County Prosecutor Jing-Lan Lee.
Prosecutors believe he got more than $140,000 dollars from massage parlor owners in just a few months, and forced some of the six listed victims to perform sex acts.
WATCH: San Jose police officer charged with excessive force, victim speaks exclusively to ABC7's I-Team
"And these victims are often the most vulnerable people in our community, they often come from backgrounds where they don't trust law enforcement and don't know where to turn to, to report such abuses of power," said Lee.
After Thursday's arraignment, Gerry's attorney would not comment, nor would his two sisters who drove from Texas to attend the hearing.
Court records obtained by the I-Team include some of Gerry's' text messages and emails, one parlor owner pleading:
"William, please give me my money back $34,000...If you don't call me, I will go to San Jose Police Department. And I will say everything you did to me!!"
RELATED: Couple celebrating birthday Tased, beaten by San Jose police after hotel noise complaint
While the criminal case goes forward, some of the victims are exploring a lawsuit against the city.
"Misconduct under the color of authority, which this is unfortunately a textbook example of it," said Attorney Philip Kearney.
Kearney is preparing a civil rights lawsuit, on behalf of two plaintiffs so far; he expects more victims to come forward.
Dan: "Why is the city culpable in your mind?"
Philip Kearney: "Just the sheer scale of his conduct. ... Dozens of cash payments, multiple sexual assaults, multiple victims, multiple locations over years."
Kearney also says it's improper to send a male inspector into these types of businesses alone.
"If you talk to any vice or enforcement officer, it's a complete violation of proper standard of care for this kind of enforcement," said Kearney.
The judge set Gerry's bail at $600,000. His next hearing is later this month.
ABC7's I-Team reporter Dan Noyes will have more on this story at 11 p.m. Follow him on Twitter for updates.