§3303. Annulment of void and voidable marriages.
(a) General rule.--In all cases where a supposed or alleged marriage has been contracted which is void or voidable under this title or under applicable law, either party to the supposed or alleged marriage may bring an action in annulment to have it declared void in accordance with the procedures provided by this part and prescribed by general rules.
(b) Common-law marriage.--In the case of a purported common-law marriage where a party was under 18 years of age, a parent or guardian of the minor may bring a declaratory judgment proceeding during the party's minority to have the marriage declared void.
§3304. Grounds for annulment of void marriages.
(a) General rule.--Where there has been no confirmation by cohabitation following the removal of an impediment, the supposed or alleged marriage of a person shall be deemed void in the following cases:
Where either party at the time of such marriage had an existing spouse and the former marriage had not been annulled nor had there been a divorce except where that party had obtained a decree of presumed death of the former spouse.
Where the parties to such marriage are related within the degrees of consanguinity prohibited by section 1304(e) (relating to restrictions on issuance of license).
Where either party to such marriage was incapable of consenting by reason of insanity or serious mental disorder or otherwise lacked capacity to consent or did not intend to consent to the marriage.
Where either party to a purported common-law marriage was under 18 years of age.
(b) Procedures.--In all cases of marriages which are void, the marriage may be annulled as set forth in section 3303 (relating to annulment of void and voidable marriages) or its invalidity may be declared in any collateral proceeding.
§3305. Grounds for annulment of voidable marriages.
(a) General rule.--The marriage of a person shall be deemed voidable and subject to annulment in the following cases:
Where either party to the marriage was under 16 years of age unless the marriage was expressly authorized by the court.
Where either party was 16 or 17 years of age and lacked the consent of parent or guardian or express authorization of the court and has not subsequently ratified the marriage upon reaching 18 years of age and an action for annulment is commenced within 60 days after the marriage ceremony.
Where either party to the marriage was under the influence of alcohol or drugs and an action for annulment is commenced within 60 days after the marriage ceremony.
Where either party to the marriage was at the time of the marriage and still is naturally and incurably impotent unless the condition was known to the other party prior to the marriage.
Where one party was induced to enter into the marriage due to fraud, duress, coercion or force attributable to the other party and there has been no subsequent voluntary cohabitation after knowledge of the fraud or release from the effects of fraud, duress, coercion or force.
(b) Status of voidable marriage.--In all cases of marriages which are voidable, either party to the marriage may seek and obtain an annulment of the marriage but, until a decree of annulment is obtained from a court of competent jurisdiction, the marriage shall be valid. The validity of a voidable marriage shall not be subject to attack or question by any person if it is subsequently confirmed by the parties to the marriage or if either party has died.
§3306. Proceedings to determine marital status.
When the validity of a marriage is denied or doubted, either or both of the parties to the marriage may bring an action for a declaratory judgment seeking a declaration of the validity or invalidity of the marriage and, upon proof of the validity or invalidity of the marriage, the marriage shall be declared valid or invalid by decree of the court and, unless reversed upon appeal, the declaration shall be conclusive upon all persons concerned.
§3307. Defenses.
(a) General rule.--Existing common-law defenses are retained as to the grounds enumerated in section 3301(a) and (b) (relating to grounds for divorce). The defenses of condonation, connivance, collusion, recrimination and provocation are abolished as to the grounds enumerated in section 3301(c) and (d).
(b) Adultery.--In an action for divorce on the ground of adultery, it is a good defense and a perpetual bar against the action if the defendant alleges and proves, or if it appears in the evidence, that the plaintiff:
has been guilty of like conduct;
has admitted the defendant into conjugal society or embraces after the plaintiff knew of the fact;
allowed the defendant's prostitution or received hire from it; or
exposed the defendant to lewd company whereby the defendant became involved in the adultery.
§3308. Action where defendant suffering from mental disorder.
If a spouse is insane or suffering from serious mental disorder, an action may be commenced under this part against that spouse upon any ground for divorce or annulment.
§3309. General appearance and collusion.
The entry of a general appearance by, or in behalf of, a defendant does not constitute collusion. Collusion shall be found to exist only where the parties conspired to fabricate grounds for divorce or annulment, agreed to and did commit perjury or perpetrated fraud on the court. Negotiation and discussion of terms of property settlement and other matters arising by reason of contemplated divorce or annulment do not constitute collusion.