Former Baton Rouge police Cpl. Donald Bailey has been sentenced to three years in prison after entering a no contest plea in May to bribery and corrupt influencing charges.

The 51-year-old Bailey was accused of soliciting and accepting cash from an inmate. Prosecutors said Bailey told Gregory Lollis he would have a cocaine possession charge dismissed and a parole hold lifted in exchange for $12,000. Police say Bailey took $1,400 in September 2009.

According to reports,  District Judge Chip Moore sentenced Bailey on Tuesday. Bailey also will serve five years' probation after he is released, and he must perform 325 hours of community service.

Bailey was a 14-year veteran of the police force and coordinator of the Targeted Violent Offender Program when he resigned in October 2009.