The fact that the intended victim of an attempted life term crime was a peace officer, as described in subdivisions (a) and (b) of Section 830.1, or Section 830.2, 830.5 or 830.6, while the peace officer was engaged in the performance of his or her duties, and the defendant knew or reasonably should have known that the victim was a peace officer engaged in the performance of his or her duties, shall be considered a circumstance in aggravation of the crime in imposing a term under subdivision (b) of Section 1170.
Ca. Pen. Code § 1170.81