LOS ANGELES (CNS) – Former Los Angeles County Sheriff Lee Baca withdrew his guilty plea to a federal corruption charge today and will go to trial, with a court date tentatively set for September.

After a morning of delays and last-minute negotiations, Baca told U.S. District Judge Percy Anderson he wished to withdraw from an agreement in which the retired lawman had pleaded guilty to a false statements charge, which ordinarily carries a possible five-year prison sentence.

The plea deal called for Baca to serve no more than six months behind bars.

With the ex-sheriff backing out of the deal, prosecutors said they would file an updated indictment against Baca and call him back into court for arraignment. Anderson set pretrial hearings on Sept. 6 and 12, and a Sept. 20 trial date, but that is expected to be postponed.

“For the peace of my family, to avoid a lengthy and expensive trial and to minimize the court drama associated with this case, several months ago I entered a guilty plea to one charge filed against me — be very clear, one charge,” Baca said outside the courthouse. “Today I’m withdrawing my guilty plea and will seek a trial.

“Why? I made this decision due to untruthful comments about my actions made by the court and the U.S. Attorney’s Office that are contradicted by evidence in this case,” Baca said. “While my future and my ability to defend myself depends on my Alzheimer’s disease, I need to set the record straight about me and the Los Angeles County Sheriff’s Department on misleading aspects of the federal investigation while I’m capable of doing this.”

“I want to thank my friends and family for encouraging me to stand up for what is right. My spirits are high and my love for all people is God’s gift to me.”

Going into the hearing, Baca faced a choice of either withdrawing his guilty plea and proceeding to trial or being sentenced on the false statements charge.

Two weeks ago, Anderson rejected the plea deal that would have given Baca a maximum of six months in prison, saying the sentence was too lenient considering the retired lawman’s role in obstructing an FBI investigation into

Los Angeles County jails. Anderson said the deal “would trivialize the seriousness of the offenses.”

Baca’s attorney, Michael Zweiback, told the judge that both sides had failed to find a resolution that would not involve withdrawing the plea.

Asked by Anderson if he wanted to take back his plea, Baca responded,”Yes, your honor.”

Assistant U.S. Attorney Brandon Fox told the court that the government would file a new indictment “in the not too distant future.”    Zweiback said he expected that indictment to include a range of charges similar to those that were filed against former Undersheriff Paul Tanaka.Zweiback also indicated that his 74-year-old client faced a “significant illness issue” which could affect future proceedings. Baca has been diagnosed with the early stages of Alzheimer’s disease.

Anderson said at the July hearing that he would not accept a six-month prison sentence for a defendant who had played a key role in a wide-ranging obstruction attempt that did “substantial harm” to the community.

“It’s one thing to lie to an assistant U.S. attorney,” Anderson said.

“It’s another for the chief law enforcement officer of Los Angeles County to … cover up abuse in Men’s Central Jail.”

To impose the penalty “would not address the gross abuse of the public’s trust,” the judge said, adding that such a punishment “understates the seriousness of the offense.”

Baca argued in court papers for a probationary sentence, claiming his medical condition and law enforcement career make him susceptible to abuse while in custody.

“He is suffering from Alzheimer’s, which has become advanced and it’s a very significant and concerning time for him about what he should do next,” Zweiback said today outside court.

Federal prosecutors countered that the county’s former top lawman deserves prison time for falsely telling investigators in 2013 that he was unaware that sheriff’s deputies were going to the home of an FBI agent to confront and threaten her over her involvement in the probe of corruption within the department.

The same year Baca committed the offense, he was named Sheriff of the Year by the National Sheriffs’ Association.

The rejected plea agreement — which one of Anderson’s colleagues on the federal bench recently called “troubling” — was widely seen as too lenient.    Hundreds of letters in support of probation for Baca were filed with the court.    Baca pleaded guilty Feb. 10 after denying for years that he had played any role in the wide-ranging scandal that stained the department and led to his retirement.

“I made a mistake and accept being held accountable,” Baca said in a written statement issued on the courthouse steps following his plea hearing.

In the now-rejected plea agreement, Baca agreed not to contest other allegations leveled by prosecutors, including that in 2011 he directed subordinates to approach the FBI agent, stating that they should “do everything but put handcuffs” on her.

Prosecutors also accused Baca of lying about his involvement in hiding a jail inmate from FBI investigators. Baca, they alleged, ordered the inmate to be isolated, putting his second-in-command, Tanaka, in charge of executing the plan.

In addition, Baca falsely claimed he was unaware that some of his subordinates had interrupted and ended an interview FBI agents were conducting with the inmate, who was working as a federal informant, prosecutors alleged in the court documents.

Baca retired in 2014 at the height of the federal probe. He had been sheriff since December 1998.

Prosecutors have said that Baca lied to investigators to either avoid “political fallout” or to avoid more severe criminal charges.