A former Prattville police officer was sentenced to serve three years in community corrections for burglary, theft and impersonating a police officer, the Attorney General's Office announced Friday.

The former officer, 49-year-old John Wayne McDaniel Jr, pleaded guilty in October 2017 on charges of conspiracy to commit burglary, third-degree theft, second-degree theft of prescription medicine and criminal impersonation of a police officer.

He was sentenced Friday morning in the Autauga County Circuit Court to 10 years for each out, with the sentences split for him to serve three years in community corrections. The sentences will run concurrently.

Defendants in the community corrections program may serve their time outside of prison or in jail but are held to stringent conditions and supervision. Upon any failure to comply with those conditions could result in the subject being sent to jail or prison, officials said.

"It is always serious and a sad betrayal of the public's trust when a law enforcement officer breaks the law he has sworn to uphold," said Attorney General Marshall. "In this case, the court considered that McDaniel acknowledged his wrongdoing, cooperated in the investigation, and assisted with information for the prosecution of others in related crimes. His sentence takes this into account, yet imposes strong controls to invoke his prison sentence if he fails to abide by the strict standards of the community corrections program."

McDaniel's cooperation was a factor in the successful prosecution of another former Prattville police officer, 51-year-old Leon Todd Townson, who was sentenced on Monday to serve 10 years in the Alabama Department of Corrections for first-degree insurance fraud and conspiracy to commit first-degree burglary, and three years for third-degree burglary. Townson's sentences run concurrently.

Townson was also ordered to pay $203,307.20 in restitution to Travelers Insurance for defrauding the company.

Another co-defendant, 18-year-old Raymond Douglas McCray, also agreed to cooperate in Townson's prosecution. McCray was sentenced Monday to 10 years, which was suspended for three years of probation.

Attorney General Marshall commended Assistant Attorney General John Kachelman of the Attorney General's Criminal Trials Division for his work in bringing these cases to a successful conclusion. He also commended Special Agents of his Investigations Division, and thanked the Prattville Police Department for their exemplary work in the investigation and prosecution of these cases.