CHANDLER, Okla. (AP) — A former Lincoln County judge has pleaded guilty to embezzling money from his private legal clients.

Records indicate former Associate District Judge Craig S. Key pleaded guilty Friday to 24 counts in 11 cases. Key was sentenced to five years in prison and five years of probation. He also must pay more than $527,000 in restitution.

Key was indicted by Oklahoma's multicounty grand jury in 2013 for stealing cattle and a trailer and embezzling from his clients. He worked as an attorney before surrendering his law license after being indicted.

Key's attorney, Cheryl Ramsey, says her client is in poor health and had hoped for a sentence with no prison time.