as Level 2. The carrying value is included in prepaid expenses and other current assets on the Consolidated Balance Sheets as of December 31, 2021.
On July 31, 2019, Adtalem sold its Chicago, Illinois, campus facility to DePaul College Prep. In connection with the sale, Adtalem holds a mortgage from DePaul College Prep for $46.8 million. The mortgage is due on July 31, 2024 as a balloon payment and bears interest at a rate of 4% per annum, payable monthly. The carrying value of the DePaul College Prep loan receivable, which approximates its fair value, included in other assets, net on the Consolidated Balance Sheets as of December 31, 2022, June 30, 2022, and December 31, 2021 is $44.6 million, $44.0 million, and $43.3 million, respectively. Fair value is estimated by discounting the future cash flows using an average of current rates for similar arrangements, which is estimated at 7% per annum and is classified as Level 2.
Adtalem has a nonqualified deferred compensation plan for highly compensated employees and its Board members. The participant’s “investments” are in a hypothetical portfolio of investments which are tracked by an administrator. Changes in the fair value of the nonqualified deferred compensation obligation are derived using quoted prices in active markets based on the market price per unit multiplied by the number of units. Total liabilities under the plan included in accrued liabilities on the Consolidated Balance Sheets as of December 31, 2022, June 30, 2022, and December 31, 2021 were $14.6 million, $16.3 million, and $21.4 million, respectively. The fair value of the nonqualified deferred compensation obligation is classified as Level 2 because their inputs are derived principally from observable market data by correlation to the hypothetical investments.
As of December 31, 2022, June 30, 2022, and December 31, 2021, borrowings under our long-term debt agreements were $708.3 million, $859.2 million, and $1,650.0 million, respectively. The fair value of the Notes was $371.5 million as of December 31, 2022, which is based upon quoted market prices and is classified as Level 1. The fair value of the Term Loan B was $301.6 million as of December 31, 2022, which is based upon quoted market prices in a non-active market and is classified as Level 2. See Note 13 “Debt” for additional information on our long-term debt agreements.
As of December 31, 2022, June 30, 2022, and December 31, 2021, there were no assets or liabilities measured at fair value using Level 3 inputs.
We recorded an impairment of $5.0 million on an equity investment with no readily determinable fair value within other (expense) income, net in the Consolidated Statements of Income (Loss) in the three and six months ended December 31, 2022 as the carrying value is no longer recoverable. Since initial recognition of the investment, there have been no upward or downward adjustments as a result of observable price changes. Following the impairment, the carrying amount of $5.0 million was reduced to zero.
Assets measured at fair value on a nonrecurring basis include goodwill and indefinite-lived intangibles arising from a business combination. These assets are not amortized and charged to expense over time. Instead, goodwill and indefinite-lived intangibles must be reviewed annually for impairment or more frequently if circumstances arise indicating potential impairment. This impairment review was most recently completed as of May 31, 2022. See Note 12 “Goodwill and Intangible Assets” for additional information on the impairment review, including valuation techniques and assumptions.
19. Commitments and Contingencies
Adtalem is subject to lawsuits, administrative proceedings, regulatory reviews, and investigations associated with financial assistance programs and other matters arising in the normal conduct of its business. As of December 31, 2022, Adtalem believes it has adequately reserved for potential losses. The following is a description of pending legal and regulatory matters that may be considered other than ordinary, routine, and incidental to the business. Descriptions of certain matters from prior SEC filings may not be carried forward in this report to the extent we believe such matters no longer are required to be disclosed or there has not been, to our knowledge, significant activity relating to them. We have recorded accruals for those matters where management believes a loss is probable and can be reasonably estimated as of December 31, 2022. For those matters for which we have not recorded an accrual, their possible impact on Adtalem’s business, financial condition, or results of operations, cannot be predicted at this time. The continued defense, resolution, or settlement of any of the following matters could require us to expend significant resources and could have a material adverse effect on our business, financial condition, results of operations, and cash flows, and result in the imposition of significant restrictions on us and our ability to operate.