Defendant Craig Maddigan appeals from a judgment of the United States District Court for the Western District of New York (Arcara, J.) affirming the bankruptcy court’s finding that Maddigan’s obligation for legal fees imposed by a family court during a custody proceeding was nondis-chargeable in bankruptcy. We hold that the bankruptcy court (Bucki, J.) correctly •read the family court’s order of legal fees as creating a debt Maddigan owes to his child that is “in the nature of support.” As such, this debt is nondischargeable in bankruptcy pursuant to 11 U.S.C. § 523(a)(5).
BACKGROUND
Plaintiff Falk & Siemer, LLP (“Falk & Siemer”) brought this action for declaratory judgment that its claim for attorney’s fees against Maddigan was nondischargeable under 11 U.S.C. § 523(a)(5).
Maddigan and Lisa Grupposo, who were never married, are the parents of a child. At the end of their relationship, Maddigan and Grupposo both initiated proceedings in family court for custody of their daughter. Grupposo received custody, and Maddigan was granted liberal visitation rights.
Falk & Siemer represented Grupposo in the custody proceedings. At the end of the proceedings, Falk & Siemer moved for an award of legal fees from Maddigan. The family court directed Maddigan to pay Falk & Siemer $12,000 in fees plus interest from January 1, 2000. When payment was not made, the family court granted a money judgment to Falk & Siemer in this amount.
Maddigan subsequently filed a petition for bankruptcy relief under Chapter 7 of the Bankruptcy Code. Falk & Siemer thereafter commenced the instant action, seeking a determination that its claim for legal fees was nondischargeable under 11 U.S.C. § 523(a)(5). 1
Section 523 defines a number of exceptions to the general grant of discharge provided by § 727. Among these exceptions, § 523(a)(5) provides that a discharge under § 727 does not discharge an individual debtor from:
[A]ny debt ... to a spouse, former spouse, or child of the debtor, for alimony to, maintenance for, or support of such spouse or child, in connection with a separation agreement, divorce decree or other order of a court of record, determination made in accordance with State or territorial law by a governmental unit, or property settlement agreement, but not to the extent that ... such debt includes a liability designated as alimony, maintenance, or support, unless *593 such liability is actually in the nature of alimony, maintenance, or support.
11 U.S.C. § 523(a)(5).
The bankruptcy court identified the key issue as whether the award of legal fees was “in the nature of ... support” within the meaning of § 523(a)(5).
In re Maddigan,
Maddigan appealed this determination to the United States District Court for the Western District of New York (Arcara, J.), which affirmed “[substantially for the reasons set forth in the Bankruptcy Court’s opinion.” In re Maddigan, No. 01-CV-328A, slip op. at 2 (W.D.N.Y. Aug. 27, 2001). This appeal followed.
DISCUSSION
I. Standard of Review
Review of an order of a district court issued in its capacity as an appellate court is plenary.
In re Manville Forest Prods. Corp.,
II. Whether Maddigan’s Debt to Falk & Siemer is Nondischargeable in Bankruptcy
In order for the debt Maddigan owes Falk & Siemer to be nondischargeable under § 523(a)(5), three statutory requirements must be met. First, the debt must be “to a spouse, former spouse, or child of the debtor.” 11 U.S.C. § 523(a)(5). Second, the debt must be “actually in the nature of’ (as opposed to simply designated as) alimony, maintenance, or support. Id. § 523(a)(5)(B). Third, the debt must have been incurred “in connection with a separation agreement, divorce decree or other order of a court of record.” Id. § 523(a)(5). We address each element in turn.
A. Maddigan’s Debt to Falk & Siemer Is a Debt to Maddigan’s Child
As Maddigan and Grupposo were never married, Maddigan’s debt cannot be characterized as a debt to a spouse or former spouse. The question is whether Maddi-gan’s obligation for the legal fees Gruppo-so incurred during the proceeding for custody of their child can be considered a debt to that child.
The fact that the debt is payable to a third party (here, Falk
&
Siemer) does not prevent classification of that debt as being owed to Maddigan’s child. Our case law clearly establishes that debts in the nature of support need not be payable directly to one of the parties listed in § 523(a)(5) in order to be nondischargeable.
See Spong,
*594
A separate question is whether Maddi-gan’s obligation for legal fees incurred by the nonspouse mother of his child can be considered a debt to his child within the meaning of § 523(a)(5). We have previously held that the legal fees of an attorney appointed to represent the interests of a child in a custody proceeding can be considered a debt to the child.
In re Peters,
The facts of
Peters
are admittedly distinguishable from those of the instant case, in that here Maddigan’s child was not appointed her own legal representative in the custody proceeding. However, it is a “well-established principle of bankruptcy law that dischargeability must be determined by the substance of the liability rather than its form.”
Spong,
This conclusion is supported by the legislative history of § 523(a)(5), which reflects a general concern that parents of children born out of wedlock not be able to evade child support obligations in bankruptcy. Section 523(a)(5) was amended in 1984 to change its application to debts arising “in connection with a separation agreement, divorce decree
or other order of a court of record.”
11 U.S.C. § 523(a)(5) (italics indicate the additional text). This clause was added to broaden the exception from discharge to include child support debts arising from non-marital relationships.
See In re Furlong,
We thus conclude that Maddigan’s debt to Falk & Siemer is a debt to his child, and that the first element of the § 523(a)(5) exception to discharge is met.
B. Maddigan’s Debt to Falk & Siemer Is “In the Nature of Support” for Maddigan’s Child
The second requirement that must be met for a debt to be nondischargeable under § 523(a)(5) is that the debt must be “actually in the nature of ... support” for the child. We have held that the question whether a debt meets the statutory requirement for being in the nature of support is a factual determination of the bankruptcy court, and as such is subject to reversal only if clearly erroneous.
See Forsdick v. Turgeon,
1. The Bankruptcy Court’s Determination Is Not Clearly Erroneous
The bankruptcy court below carefully analyzed the family court’s decision in making its factual determination that the order of legal fees was in the nature of support. The bankruptcy court specifically noted that the family court “listed factors of support” — such as Grupposo’s income, limited assets and resources, financial obligations, and inability to pay legal fees — in ordering Maddigan to pay Grupposo’s fees.
Maddigan,
Given the bankruptcy court’s considered reading of the family court’s decision and order, and on our own review of the family court’s decision and order, it cannot be said that the bankruptcy court’s determination was clearly erroneous. Maddigan argues that “[t]he Family Court decision never indicated that its award was in the nature of support.” This argument is without merit. While the family court admittedly did not explicitly state that the award of attorney’s fees in this case was in the nature of support, it would be unrealistic and unreasonable to expect the court to have framed its order of legal fees using the statutory terms of § 523(a)(5) — family court judges cannot reasonably be expected to anticipate future bankruptcy among the parties to a custody proceeding.
Nor is it significant that the family court proceeding was a custody proceeding instead of a support proceeding.
See Peters,
Policy considerations compel this conclusion as well. While family court judges previously heard both custody and child support matters in the same proceeding, this practice was changed by state statute in 1996. Hearing Examiners now hear and determine matters of child support, in proceedings separate from custody or other family court proceedings. See 22 N.Y.C.R.R. § 205.32; N.Y. McKinney’s Family Court Act § 439(a). If the judgment of a family court could only be considered to be “in the nature of support” in cases in which the family court proceedings included an adjudication of child support matters, New York’s administrative change toward the use of Hearing Examiners- — -which was apparently made for reasons of judicial economy — would have the effect of rendering most family court judgments dischargeable upon bankruptcy. This outcome would undermine the purpose of § 523(a)(5).
2. Congressional Intent Supports the Finding That Maddigan’s Debt Is “In the Nature of Support”
The Bankruptcy Code reflects and balances a number of competing congressional goals. We have explained that the general purpose of bankruptcy law is “to provide the bankrupt with comprehensive, much needed relief from the burden of his indebtedness by releasing him from virtually all his debts.”
Forsdick,
In order to promote the general goal of the Bankruptcy Code — that of providing bankrupt debtors a fresh start— the Supreme Court has cautioned that “exceptions to discharge ‘should be’ ”
Kawaauhau v. Geiger,
*597 The bankruptcy court’s factual determination that Maddigan’s obligation to Falk & Siemer is in the nature of support for Maddigan’s child comports with the record in the family court below, the applicable case law, and congressional intent. We thus find no error in this determination.
C. Maddigan’s Debt to Falk & Siemer Was Incurred “In Connection With” an Order of a Court of Record
The third and final requirement of § 523(a)(5) is that the debt be “in connection with a separation agreement, divorce decree or other order of a court of record.” 11 U.S.C. § 523(a)(5). The judgment for legal fees in the family court’s determination of custody is a debt “in connection with” an order of a court of record.
See Peters,
CONCLUSION
For the foregoing reasons, we affirm the district court’s judgment that Maddigan’s obligation for legal fees imposed by the family court during the proceeding for custody of Maddigan’s daughter was nondis-chargeable in bankruptcy pursuant to § 523(a)(5).
Notes
. Falk & Siemer also sought a denial of discharge pursuant to 11 U.S.C. § 727(a)(3), on the ground that Maddigan had engaged in fraud, intentional misstatements, or other misconduct. In a separate order, the bankruptcy court dismissed the cause of action for denial of discharge under § 727(a)(3). The parties agree that the only issue on appeal is the question of dischargeability pursuant to § 523(a)(5).
