Except to fill a vacancy occurring on the ballot, an individual who was a candidate for nomination by any party or a candidate for a no-party office at any primary election in any year and who was defeated for the nomination may not have that individual's name printed upon the official ballot at the ensuing general election for the same office.
N.D.C.C. § 16.1-13-06