245.1. As used in Sections 148.2, 241, 243, 244.5, and 245, "fireman"
or "firefighter" includes any person who is an officer, employee or
member of a fire department or fire protection or firefighting agency
of the federal government, the State of California, a city, county,
city and county, district, or other public or municipal corporation
or political subdivision of this state, whether this person is a
volunteer or partly paid or fully paid.
As used in Section 148.2, "emergency rescue personnel" means any
person who is an officer, employee or member of a fire department or
fire protection or firefighting agency of the federal government, the
State of California, a city, county, city and county, district, or
other public or municipal corporation or political subdivision of
this state, whether this person is a volunteer or partly paid or
fully paid, while he or she is actually engaged in the on-the-site
rescue of persons or property during an emergency as defined by
subdivision (c) of Section 148.3.
245.2. Every person who commits an assault with a deadly weapon or
instrument or by any means of force likely to produce great bodily
injury upon the person of an operator, driver, or passenger on a bus,
taxicab, streetcar, cable car, trackless trolley, or other motor
vehicle, including a vehicle operated on stationary rails or on a
track or rail suspended in the air, used for the transportation of
persons for hire, or upon the person of a station agent or ticket
agent for the entity providing such transportation, when the driver,
operator, or agent is engaged in the performance of his or her
duties, and where the person who commits the assault knows or
reasonably should know that the victim is engaged in the performance
of his or her duties, or is a passenger, shall be punished by
imprisonment in the state prison for three, four, or five years.
245.3. Every person who commits an assault with a deadly weapon or
instrument or by any means likely to produce great bodily injury upon
the person of a custodial officer as defined in Section 831 or
831.5, and who knows or reasonably should know that such victim is
such a custodial officer engaged in the performance of his duties,
shall be punished by imprisonment in the state prison for three,
four, or five years.
When a person is convicted of a violation of this section in a
case involving use of a deadly weapon or instrument, and such weapon
or instrument is owned by such person, the court may, in its
discretion, order that the weapon or instrument be deemed a nuisance
and shall be confiscated and destroyed in the manner provided by
Section 12028.
245.5. (a) Every person who commits an assault with a deadly weapon
or instrument, other than a firearm, or by any means likely to
produce great bodily injury upon the person of a school employee, and
who knows or reasonably should know that the victim is a school
employee engaged in the performance of his or her duties, when that
school employee is engaged in the performance of his or her duties,
shall be punished by imprisonment in the state prison for three,
four, or five years, or in a county jail not exceeding one year.
(b) Every person who commits an assault with a firearm upon the
person of a school employee, and who knows or reasonably should know
that the victim is a school employee engaged in the performance of
his or her duties, when the school employee is engaged in the
performance of his or her duties, shall be punished by imprisonment
in the state prison for four, six, or eight years, or in a county
jail for not less than six months and not exceeding one year.
(c) Every person who commits an assault upon the person of a
school employee with a stun gun or taser, and who knows or reasonably
should know that the person is a school employee engaged in the
performance of his or her duties, when the school employee is engaged
in the performance of his or her duties, shall be punished by
imprisonment in a county jail for a term not exceeding one year or by
imprisonment in the state prison for two, three, or four years.
This subdivision shall not be construed to preclude or in any way
limit the applicability of Section 245 in any criminal prosecution.
(d) As used in the section, "school employee" means any person
employed as a permanent or probationary certificated or classified
employee of a school district on a part-time or full-time basis,
including a substitute teacher. "School employee," as used in this
section, also includes a student teacher, or a school board member.
"School," as used in this section, has the same meaning as that term
is defined in Section 626.[/QUOTAnd this is assuming that your friend didn't commit the multiple offenses in the commission of another crime such as rape, burglary, etc.