Man charged with assaulting an emergency worker jailed