Arthur 0. Rogers (husband) appeals from a decision of the Circuit Court of Tazewell County (trial court) denying his motions to vacate an order finding him in contempt, to quash a capias, and to declare void a prior decree incorporating a settlement agreement. He contends that the trial court lacked jurisdiction to institute a contempt proceeding against him because the court order on which the contempt proceeding was based was void. For the reasons that follow, we affirm.
I.
FACTS
Husband and Nora Katherine Rogers Damron (wife) were married in 1960, and husband filed for divorce in 1979. Wife filed an answer and cross bill requesting, among other things, spousal support. On April 23, 1981, the trial court granted husband a divorce a vinculo matrimonii. In the decree, the trial court reserved jurisdiction over spousal support and property issues by stating:
It is further ORDERED, ADJUDGED and DECREED that this Court retain jurisdiction of this case for the purpose of adjudicating and determining all the rights of the wife for spousal support and property rights existing between the parties until such property rights and rights to spousal support are fully considered and determined.
On July 17, 1981, the parties entered into a settlement agreement. Under the agreement, husband agreed to transfer certain property to wife, to make annual payments to wife over a ten-year period, to pay specified debts, and to obtain a term life insurance policy as security for his obligations under the agreement. Wife agreed “to release and discharge ... all *711 [of her] interest by dower and any and all claims which she may or might have for alimony and for support and maintenance for herself or otherwise.” On November 4, 1981, the trial court entered a decree that ratified and incorporated the agreement between the parties (settlement decree).
In 1986, wife began contempt proceedings to enforce the terms of the settlement decree. On April 23, 1993, the trial court found that husband was in arrears in the payment of his obligations under the settlement decree. It held that husband was in contempt of court and ordered the issuance of a capias for his arrest.
On November 22, 1994, husband filed motions to quash the capias, to vacate the finding of contempt and to void the settlement decree. The trial court denied husband’s motions.
II.
VALIDITY OF THE 1981 SETTLEMENT DECREE
Husband contends that the trial court erred when it denied his motions because the 1981 settlement decree enforced by the trial court was void. We disagree.
A decree is void
ab initio
if it “has been procured by extrinsic or collateral fraud, or entered by a court that did not have jurisdiction over the subject matter of the parties.”
Rook v. Rook,
Husband’s attack on the 1981 settlement decree is based solely on his contention that the trial court lacked subject matter jurisdiction to incorporate the settlement agreement into the decree. Subject matter jurisdiction may be fixed only by the constitution or a statute, and it may not be conferred upon a court by the consent of the parties.
See Barnes v. American Fertilizer Co.,
Husband does not argue that the trial court lacked jurisdiction over the cause of action in this case. 1 Instead, husband contends that the 1981 settlement decree is void because the trial court lacked jurisdiction to grant the relief sought by wife: the incorporation of the settlement agreement in a decree issued after the entry of the divorce decree. 2 *713 Husband relies on the language of the 1981 version of Code § 20-109.1 stating that a divorce court may incorporate a settlement agreement “by reference in its ... decree of divorce____” (1975 & Supp.1980). 3 Husband argues that the plain meaning of Code § 20-109.1 in 1981 divested the trial court of its subject matter jurisdiction to incorporate settlement agreements after the decree of divorce became final. We disagree.
We hold that the 1981 version of Code § 20-109.1 did not deprive the trial court of its power to incorporate a settlement agreement in a decree following the entry of a decree of divorce and that the 1981 settlement decree is not void for lack of subject matter jurisdiction. Both the legal framework on which Code § 20-109.1 was grafted and the purpose of Code § 20-109.1 support this conclusion.
First, Code § 20-109.1 was not intended to alter the divorce court’s power that existed prior to the statute’s enactment to incorporate settlement agreements into its decrees. Before Code § 20-109.1 was enacted in 1970, a divorce court had an “incidental authority to approve bona fide and valid agreements between the parties for the settlement of property rights and claims for [support].”
Barnes,
In addition, the conclusion that a divorce court may in a bifurcated proceeding incorporate a settlement agreement following the entry of a decree of divorce is consistent with the purpose of Code § 20-109.1. “The primary objective of statutory construction is to ascertain and give effect to legislative intent.”
Turner v. Commonwealth,
For the foregoing reasons, we affirm the trial court’s denial of husband’s motions to vacate the order finding him in contempt, to quash the capias and to declare void the 1981 settlement decree.
Affirmed.
Notes
. In 1981, the trial court had jurisdiction over suits for divorce and the adjudication of related support, custody and property issues. Code §§ 20-96, 20-107 (1975 & Supp.1980). In addition, the court properly used its inherent equity power to bifurcate the divorce proceeding when it expressly reserved. its consideration of the spousal support and property issues beyond the entry of the divorce decree.
See Erickson-Dickson v. Erickson-Dickson,
. We disagree with wife’s argument that the power of a divorce court to incorporate a settlement agreement is a procedural matter rather than an issue of subject matter jurisdiction. Subject matter jurisdiction encompasses both jurisdiction over the cause of action and the power to grant the relief sought.
See Nolde Bros.,
. In 1981, Code § 20-109.1 stated in relevant part:
Any court may affirm, ratify and incorporate by reference in its ... decree of divorce whether from the bond of matrimony or from bed and board, any valid agreement between the parties, or provisions-thereof, concerning conditions of the maintenance of the parties, or either of them and the care, custody and maintenance of their minor children, or establishing or imposing any other condition or consideration, monetary or nonmonetary....
(1975 & Supp.1980).
