Former Baton Rouge police Cpl. Donald Bailey was sentenced to three years in prison Tuesday as a result of his no contest plea in May to bribery and corrupt influencing charges.

Bailey, 51, was accused of soliciting and accepting cash from an inmate.

State District Judge Chip Moore said Bailey will be on probation for five years after he is released from prison, 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 from the Police Department in October 2009.