When indemnity against unlawful act void

N.D.C.C. § 22-02-02, under Indemnity.

N.D.C.C. § 22-02-02

An agreement to indemnify a person against an act thereafter to be done is void if the act is known by such person at the time of doing it to be unlawful.