Aggravated battery of police officer brings 12-year sentence