A Macon man has been sentenced to 20 years in prison after pleading guilty to probation violations tied to violent inmate attacks at the Bibb County Jail.