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.
N.D. Cent. Code § 22-02-02
When indemnity against unlawful act void
Official source: North Dakota Legislative Branch. Reproduced from public-domain North Dakota statutes; confirm against the official source for the current text. Not legal advice.