; (2) the term firefighter includes an individual serving as an officially recognized or designated member of a legally organized volunteer fire department and an officially recognized or designated public employee member of a rescue squad or ambulance crew; (3) the term judicial officer means a judge or other officer or employee of a court, including prosecutors, court security, pretrial services officers, court reporters, and corrections, probation, and parole officers; (4) the term law enforcement officer means an individual, with arrest powers, involved in crime or juvenile delinquency control or reduction or enforcement of the laws; (5) the term public agency includes a court system, the National Guard of a State to the extent the personnel of that National Guard are not in Federal service, and the defense forces of a State authorized by section 109 of title 32; and (6) the term public safety officer means an individual serving a public agency in an official capacity, as a law enforcement officer, as a firefighter, as a chaplain, or as a member of a rescue squad or ambulance crew. (b) Offense It shall be unlawful to assault, or attempt to assault, a federally funded public safety officer while engaged in or on account of the performance of official duties, or assaults any person who formerly served as a federally funded public safety officer on account of the performance of such person's official duties during such service, or because of the actual or perceived status of the person as a federally funded public safety officer. (c) Penalty (1) In general Any person that violates subsection (b) shall be subject to a fine under this title and— (A) if the assault resulted in bodily injury (as defined in section 1365), shall be imprisoned not less than 2 years and not more than 10 years; (B) if the assault resulted in substantial bodily injury (as defined in section 113), shall be imprisoned not less than 5 years and not more than 20 years