A guarantor is not liable if the contract of the principal is unlawful, but the guarantor is liable notwithstanding any mere personal disability of the principal even though the disability is such as to make the contract void as against the principal.
N.D.C.C. § 22-01-13