(a) Members of the militia in the active service of the state shall not be liable civilly or criminally for any act or acts done by them in the performance of their duty.

(b) Subdivision (a) shall not apply to any act or acts by members of the militia in the active service of the state done by them outside the performance of their military duty, including, but not limited to, sexual assault, as defined in Section 470.5, and sexual harassment, as defined in Section 475.

(Amended by Stats. 2021, Ch. 183, Sec. 3. (SB 352) Effective January 1, 2022.)