charged with threatening injury to an officer on duty