OPINION
We grant the motion for rehearing, withdraw our opinion and judgment issued on February 20, 2004, and substitute this one to address the questions of venue and exemplary damages raised in the motion for rehearing. 1 We conclude that no error is reflected in the transfer of venue and that appellees did not preserve the issue of exemplary damages.
In this case, we consider the proper characterization of a debt discharged in bankruptcy, the continuing viability of the rule that the assignment of a judgment to one of the judgment debtors extinguishes the judgment for all judgment debtors, and the ability to recover attorney’s fees in a declaratory-judgment action. For the reasons stated below, we affirm the judgment of the district court in part and reverse and render in part.
BACKGROUND
In the early 1980s, Robert Hageman and Thomas Luth were partners in a real-estate joint venture known as Settlers Development. In the mid-1980s, Reese and Dora Turner filed a tort action against Hageman, Luth, and Settlers Development. 2 They were represented in that action by Jackson Walker, L.L.P. On October 30, 1987, a final judgment (the Turner judgment) was entered against Luth and Hageman individually and together, doing *621 business as Settlers Development, a joint venture, for $83,500 and fees with an annual interest rate of ten percent until paid in full. In a bankruptcy action on July 8, 1989, Hageman received a discharge of his debts, including the Turner judgment. The Turners never were able to enforce the judgment against Luth or Settlers Development.
Several years later, Hageman and Luth formed a new business partnership called Radiant Solutions, Inc. to develop and market a construction product called Kool Ply. In January 1997, Hageman sold all rights, title, and interest in Kool Ply to a third party. Luth contended that Hage-man did so without agreement from him and without giving him an accounting of the sale. Luth then filed suit against Hageman and sought money damages, arguing that he had an ownership interest in Radiant Solutions and claiming breach of fiduciary duty, fraud, breach of contract, and a quantum meruit cause of action. In that suit, Luth was represented by Thomas Tucker of the firm Fritz, Byrne & Head, L.L.P., 3 for a contingency fee of one third of the total recovery. As part of his agreement with FBH, Luth assigned it an undivided interest in his claim against Hageman. Hageman retained Hal Sanders, then with the firm of Strasburger & Price, L.L.P. (Strasburger) to represent him.
That lawsuit slowly moved forward over three years, and various settlement efforts were not successful. 4 The case was first set for trial in November 2000 and was reset in March 2001 at the request of FBH. Trial was reset a final time for June 18, 2001, at the request of Sanders, who was moving from Strasburger to Jackson Walker. At the same time, Tucker left FBH but remained of-counsel to complete the Kool Ply litigation.
On June 13, 2001, the parties reached a settlement agreement whereby Hageman would pay Luth $169,000 and scheduled a settlement closing date of August 10. The settlement agreement did not mention the form of payment and directed that payment be made to “Plaintiff, Thomas Luth.” Although FBH produced evidence that it intended to inform Hageman and his attorneys to produce the settlement money in the form of a check payable jointly to Luth and FBH, the evidence does not establish that Hageman or his attorney were ever informed of that intention. 5 Around that time, Hageman and Dora Turner, 6 both represented by attorneys from Jackson Walker, began to discuss assigning the rights of the Turner judgment to Hage-man, and on June 21, 2001, they both signed waivers of conflicts. Soon thereafter, Dora Turner executed an assignment of her rights and the rights of her husband in the Turner judgment to Hageman for $12,500. Sanders then recorded the as *622 signment and obtained a writ of execution in Williamson County.
The final settlement conference on August 10 took place at Jackson Walker’s offices. Luth came to the conference with Cindy Veidt of FBH. On the advice of his attorney, Hageman came to the conference with $183,250 in cash 7 (the funds) in a sealed, clear plastic bag, which he kept under the conference table. When the parties had signed the settlement agreement, Hageman produced the plastic bag, presented it to Luth, and asked him to count the funds. A few moments after Luth and Veidt finished counting the funds, two Travis County deputy constables entered the conference room and announced they had a writ of execution for a judgment against Luth. 8 Luth denied that the money was his, and Veidt asserted that a portion of the funds belonged to her law firm. The deputy constables proceeded with the seizure.
FBH and Luth filed this suit in Travis County in September 2001, seeking recovery of the seized funds. Specifically, FBH claimed both tortious conversion on the part of Hageman and that it had a superi- or right to the funds. It also sought a declaration that the assignment of the Turner judgment was invalid because it represented satisfaction of Luth’s obligation on the judgment. Finally, Luth and FBH asked for attorney’s fees and exemplary damages in relation to the litigation over the funds. FBH attorneys represented the firm. Luth originally appeared pro se, then hired other counsel. 9 The district court in Travis County ordered the funds deposited into the registry of the court and then transferred venue and the funds to Williamson County over objections from Luth and FBH. The funds originally were deposited in the registry of the court in Travis County, then transferred to Williamson County.
The district court in Williamson County granted partial summary judgment in favor of Luth and FBH, declaring that they were entitled to the funds, that Hageman’s acquisition of the assignment of the Turner judgment operated to extinguish that judgment, and that Hageman acted intentionally, wrongfully, and with malice. The court then held a bench trial on the issue of attorney’s fees and exemplary damages. In its final judgment, dated November 1, 2002, the court incorporated its summary-judgment rulings and awarded attorney’s fees both to Luth and to FBH. In addition, it disbursed $56,201.43 plus pre-judgment interest to FBH under its contingency fee arrangement with Luth and $127,048.57 plus pre-judgment interest to Luth. The court also filed findings of fact and conclusions of law, in which it determined that Luth and FBH were entitled to attorney’s fees under the declaratory judgments act and chapter 38 of the Texas Civil Practice and Remedies Code. On November 8, 2001, Luth and FBH withdrew the funds from the registry of the court. This appeal followed.
DISCUSSION
Extinguishment of the Turner Judgment
In his first issue, Hageman argues that the trial court erred in concluding that the assignment of the Turner judgment operated to extinguish the judgment. He asserts that the assignment of that judgment to him did not extinguish the judgment *623 because his liability on the Turner judgment had been discharged in bankruptcy. He also attacks the soundness of the rule that the assignment of a debt to one of the joint debtors extinguishes the debt.
Because the propriety of a summary judgment is a question of law, we review the district court’s decision
de novo. Texas Dep’t of Ins. v. American Home Assurance Co.,
We will first address the continuing viability of the doctrine of the extinguishment of judgment debts (the extinguishment rule) under Texas law and then turn to the effect of a bankruptcy action upon a judgment debt. It is a general principle of Texas law that, if two parties are jointly and severally liable on a judgment, the acquisition of the judgment by one judgment debtor extinguishes the judgment for all judgment debtors.
BW Village, Ltd. v. Tricon Enters., Inc.,
In response, Hageman relies on authorities from other jurisdictions to argue that the extinguishment rule no longer exists in Texas because “the common law premises upon which the rule was based no longer exist.” We do not find his arguments persuasive.
Hageman begins with the belief that the extinguishment rule is based on the old common-law principle that there is no right of contribution between joint tortfea-sors.
See Wright v. Haskins,
In any event, the cases Hageman cites do not support his position. In
Wright,
for example, a creditor owned two separate judgments against two joint tortfeasors.
Hageman next argues that the extin-guishment rule is based on the “unity of release” rule, and, because Texas law does not follow that rule, the extinguishment rule lacks foundation in Texas law.
See McMillen v. Klingensmith,
We find the reasoning of the Rich court to be sound. We also reject Hage-man’s argument that the existence of the right of contribution in Texas law and the rejection of the unity of release rule nullify the extinguishment rule. As a result, we hold that the extinguishment rule continues to be the law in Texas.
We must next consider whether Hageman’s discharge in bankruptcy affected his relationship to the Turner judgment. Hageman argues that his discharge in bankruptcy made him a stranger to the judgment. See 11 U.S.C.A. § 524 (West *625 1993 & Supp.2003); Tex. Prop.Code Ann. § 52.042 (West 1995). As a result, he believes that the extinguishment rule does not apply to the assignment of the Turner judgment. We disagree.
This argument requires us to construe section 52.042 of the property code. Statutory construction is a matter of law, which we review
de novo. Johnson v. City of Fort Worth,
Under federal bankruptcy law, a discharge “voids any judgment at any time obtained.” 11 U.S.C.A. § 524(a)(1). However, a discharge in bankruptcy is neither a payment nor an extinguishment of a debt.
In re Berry,
In addition, the federal approach seems to enjoy substantial acceptance among the states.
12
See, e.g., Stewart v. Underwood,
In Texas, a judgment is discharged and cancelled “if the debt or obligation evi
*626
denced by the judgment is discharged in the bankruptcy.” Tex. Prop.Code Ann. § 52.042 (West 1995). There is some indication in Texas case law that “although a discharge in bankruptcy has effect to release the debtor from the legal obligation to pay a debt[,] ... [t]he discharge affects the remedy, but does not constitute payment of the debt.”
Livesay v. First Nat’l Bank of Lockney,
When we consider the guidance from Texas law in light of the federal approach to the discharge of debts in bankruptcy, we are convinced that section 52.042(a)(2) of the property code mirrors the federal approach to the proper characterization of a discharge in bankruptcy. Therefore, Hageman’s obligation on the Turner judgment continued to exist even though his obligation was no longer legally enforceable. Because we find that the ex-tinguishment rule maintains viability in Texas, and because Hageman’s obligation on the Turner judgment continued after his bankruptcy discharge, the assignment of the Turner judgment to Hageman effectively extinguished the judgment, which is now satisfied in whole. To hold otherwise would be to allow Hageman “to use the bankruptcy discharge as a ‘sword’ to take unfair advantage, rather than as a ‘shield’ to protect him with a fresh start.”
See In re Gendreau,
Attorney’s Fees
In his second issue, Hageman argues that the district erred in awarding attorney’s fees to Luth and to FBH. In particular, he believes that Luth and FBH’s declaratory-judgment claims mirrored their conversion and trial-of-right-of-property claims, which do not provide for an award of attorney’s fees. As a result, he argues, the district court had no basis on which to order the award. We agree.
The petition in this case reflects that Luth and FBH filed suit against Hageman under claims of trial of right of property, conversion, and the Uniform Declaratory Judgment Act (UDJA).
See
Tex. Prop. Code Ann. §§ 25.001-.002 (West 2000); Tex. Civ. Prac. & Rem.Code Ann. § 37.009 (West 1997);
Pierson v. GFH Fin. Servs. Corp.,
We begin by considering the declaratory-judgment action as a basis for the attorney’s fees. A grant or denial of attorney’s fees in a declaratory-judgment action lies within the sound discretion of the trial court and will not be reversed on appeal absent a clear showing of abuse of discretion. Tex. Civ. Prac. & Rem.Code Ann. § 37.009;
Oake v. Collin County,
Texas law does not allow for an award of attorneys’ fees unless such recovery is provided for by statute or by contract between the parties.
Travelers Indem. Co. v. Mayfield,
Thus, we must consider whether the UDJA alone justifies an award of attorney’s fees. Luth and FBH sought a declaration of “the rights and obligations of the parties as they relate to” the funds. Specifically, they sought a declaration of the proper characterization of the assignment of the Turner judgment and title in the funds. Likewise, both the conversion claim and the trial of right of property involve determinations of title in the funds and the proper characterization of the assignment of the Turner judgment. Rather than attempting to settle and afford “relief from uncertainty and insecurity with respect to rights, status, and other legal relations,”
see
Tex. Civ. Prac.
&
Rem.Code Ann. § 32.002(b) (West 1997), the declaratory-judgment counterclaim presents no new controversies. It adds nothing to what would be “implicit or expressed in a final judgment for the enforceable remedy.”
See Universal Printing Co.,
*628
We now turn to an award of attorney’s fees under chapter 38 of the civil practices and remedies code. Tex. Civ. Prac. & Rem.Code Ann. §§ 38.001-.006 (West 1997). A party must affirmatively plead for attorney’s fees under chapter 38 for that chapter to form the basis of the award.
See Dickey v. McComb Dev. Co.,
Because we find that the trial court had no basis to award attorney’s fees under the UDJA or under chapter 38 of the civil practices and remedies code, we reverse the trial court’s award of attorney’s fees and render judgment that Luth and FBH take nothing on that part of their claim. We sustain Hageman’s second issue. 15
Exemplary Damages
On motion for rehearing, FBH asserts an additional cross-point noting that the trial court considered both attorney’s fees and exemplary damages and made findings that support an award of exemplary damages. FBH argues that in light of our reversal of the award of attorney’s fees we ought to remand this case for the trial court to reconsider an award of exemplary damages.
Although FBH argued the issue of exemplary damages to the district court, it did not complain of the failure to award them in its briefing on appeal to this court. We will not consider an issue raised on appeal for the first time on motion for rehearing.
See Hatley v. Texas A & M Univ.,
Venue
Because we reverse the district court’s award of attorney’s fees in this case, we will address the venue question presented by FBH as a conditional cross-point in its original brief. FBH made the constable of Travis County, Bruce Elfant, a party to this suit because Elfant’s deputies seized the funds during the settlement conference between Hageman and Luth, and FBH wanted to enjoin him from releasing the funds to Hageman. FBH relies on civil practices and remedies code section 15.015 to argue that venue in this case was mandatory in Travis County. Thus, it contends that the district court in Travis County erred when it transferred the case to Williamson County. We disagree.
First, the venue right in section 15.015 belongs to the county official, not to another litigant.
See
Tex. Civ. Prac. & Rem.Code Ann. § 15.015 (West 2002);
Randall Co. v. Todd,
Second, section 15.015 would apply in this case because Elfant is a county official acting in his official capacity. However, he is a party to this suit only for the issuance of the injunction, and the subject matter of the injunction is moot. Elfant no longer has the funds. In fact, FBH now has the whole portion of the funds to which it argued it was entitled. In addition, before the court transferred venue to Williamson County, it ordered the funds deposited into the registry of the court. The court transferred the funds to the registry of the district court in Williamson County. When the Travis County court took control of the funds, Elfant no longer had custody of them; the basis for naming Elfant as a party no longer existed.
Third, the substance of this case is the validity of the writ of execution on the Turner judgment issued by the district court in Williamson County, after the assignment of the rights in the Turner judgment had been recorded by Hageman. “Actions to restrain execution of a judgment based on the invalidity of the judgment or of the writ shall be brought in the county in which the judgment was rendered.” Tex. Civ. Prac. & Rem.Code Ann. § 15.013 (West 2002). Moreover, a party may file a suit for an injunction to stay execution of a judgment. Tex. Civ. Prac. & Rem.Code Ann. § 65.013 (West 2002);
Butron v. Cantu,
In this case, all parties agree that the Turner judgment is valid on its face. As Hageman states so succinctly, by arguing that the assignment of the Turner judgment rendered it extinguished, FBH “necessarily also challenged the judgment as a continuing obligation of Mr. Luth and whether the writ based on the judgment could support an execution on Luth’s property.” Thus, venue in this case was mandatory in Williamson County. See Tex. Civ. Prac. & Rem.Code Ann. §§ 15.013, 65.023. We overrule FBH’s conditional cross-point.
CONCLUSION
We affirm both the transfer of venue to Williamson County and the judgment of the district court in holding that the assignment of the Turner judgment to Hage-man extinguished it. We reverse the district court’s award of attorney’s fees and render judgment that Luth and FBH take nothing on that part of their claim. 16
Justice PATTERSON concurs in the judgment only.
Notes
. On motion for rehearing, appellee Fritz, Biyrne, Head & Harrison (FBH) argued three issues — that we erred in reversing the award of attorney's fees, that we ought to address the question of venue, and that we remand for a hearing on exemplary damages. Luth joined the motion for rehearing only on the issue of attorney's fees, which we overrule.
. The subject matter of the Turner lawsuit is not at issue in this case.
. Fritz, Byrne, Head & Harrison, L.L.P., changed its name to Fritz, Byrne & Head, L.L.P., after the court issued the final judgment in this case. We will refer to the firm as Fritz, Byrne & Head or FBH throughout this opinion.
. Through the course of settlement negotiations, the lowest settlement offer from Luth was $647,500 plus Hageman's interest in a duplex. Hageman’s highest offer was for $25,000.
. We will review the relevant details of the contingency-fee agreement and the evidence related to Hageman's notice of the agreement when we consider Hageman’s arguments about the district court's award of the contingency fee to FBH.
. Reese Turner had died sometime between the date the Turner judgment was signed and June 21, 2001. Dora Turner was the only remaining holder of the Turner judgment.
.The $183,250 figure represents the $169,000 settlement amount and $14,250 to buy out Luth's interest in an airplane Hage-man and Luth jointly owned.
. According to the writ, the deputy constables were executing on the Turner judgment.
. FBH and Luth together filed one original petition.
. We note that the
Rich
court did not rely on the unity of release rule in its analysis of the extinguishment rule.
Rich v. Smith,
. Hageman offers additional arguments that the assignment of the Turner judgment does not violate either the one-satisfaction rule or Texas public policy. Because we rely only on the extinguishment rule and find that it remains good law in Texas, we need not address those arguments.
. However, this acceptance is not universal.
See, e.g., Brown v. National City Bank,
. The precedential weight of
Livesay
is unclear because the supreme court only stated that the "judgment of the Court of Civil Appeals is affirmed, as recommended by the commission.”
Livesay v. First Nat’l Bank of Lockney,
. Also as part of his first issue, Hageman argues that the district court erred by dividing the settlement money between Luth and FBH because neither he nor his lawyer had notice of their contingency-fee arrangement. Because we have decided that Hageman has no legal interest in the settlement money, he also has no interest in how that money is divided between the prevailing parties. Thus, we have no need to discuss Hageman's argument concerning its division.
. In his third issue, Hageman challenges the trial court’s finding that he acted with bad faith or malice. He offers this argument only to refute any argument that would support an award of attorney's fees based on his “bad conduct.” Because we reverse the award of attorney's fees, we will not address his third issue.
. In his fourth issue, Hageman argues that the trial court erred by allowing the withdrawal of the funds from the registry of the court before the judgment became final. Because he does not argue for any particular remedy and because we have found that he *630 has no legal interest in the funds, we need not address his fourth issue.
