Prisoner charged with assaulting officer