The district court, during a session of court, on application made as by law provided, by either party to a marriage contracted contrary to the prohibitions contained in the Chapter entitled Marriage, or declared void by said Chapter, may declare such marriage void from the beginning, subject, nevertheless, to G.S. 51-3.
N.C. Gen. Stat. § 50-4