A San Mateo County sheriff’s deputy already accused in a jail smuggling case has been charged with lying about where he lived during an unsuccessful bid to run for county sheriff.

Deputy Juan Pablo Lopez, 51, falsely claimed that he lived in Redwood City when he actually lived in Newark in Alameda County, said San Mateo County District Attorney Steve Wagstaffe.

Lopez, a 26-year agency veteran who is on paid leave, was a write-in candidate for sheriff in the June primary election.

Lopez, along with his fiancee, Evelyn Segura-Chavez, 34, of Redwood City, and county employee Christopher John O’Dell, 47, of San Mateo pleaded not guilty Wednesday to a litany of charges, including conspiracy.

Wagstaffe said Lopez and O’Dell, who is on leave from his job helping county jail inmates with drug treatment, engaged in a fraudulent effort to obtain a real estate loan by making it appear that Lopez lived in Redwood City.

Meanwhile, Lopez and Segura-Chavez — who was listed as campaign treasurer in the sheriff’s race — collected campaign funds and used the money for personal purposes unrelated to the election process, Wagstaffe said.

Lopez’s attorney, Stuart Hanlon, blasted the new charges Thursday, saying Wagstaffe was getting back at Lopez for running against Sheriff Greg Munks.

“It’s retaliation against him. I think they’re trying to destroy this man, and now this woman,” Hanlon said. “I was flabbergasted by these charges.”

Wagstaffe responded that his office had “no motivation other than holding somebody accountable when they’ve committed a crime.”

In November, Lopez and correctional officers Michael Del Carlo and George Ismael were arrested on charges that they hatched a plan to bring cell phones and drugs to a Hells Angels member while he was housed at the county lockup in Redwood City.

While Lopez is not accused of sneaking any contraband into the jail himself, the complaint says he was complicit in allowing the cell phone smuggling to occur. The inmate and three of his family members have also been charged in the case.

On his campaign website, which solicited PayPal donations, Lopez had blasted Munks while touting himself as someone who would “restore integrity to the leadership” of the office and be a sheriff that voters could “respect and trust.”

Henry K. Lee is a San Francisco Chronicle staff writer. E-mail: hlee@sfchronicle.com Twitter: @henryklee