Debt | NOTE 6 —DEBT Warehouse Facilities At December 31, 2021 , to provide financing to borrowers under the Agencies’ programs, the Company has committed and uncommitted warehouse lines of credit in the amount of $4.1 billion with certain national banks and a $1.5 billion uncommitted facility with Fannie Mae (collectively, the “Agency Warehouse Facilities”). In support of these Agency Warehouse Facilities, the Company has pledged substantially all of its loans held for sale under the Company's approved programs. The Company’s ability to originate mortgage loans for sale depends upon its ability to secure and maintain these types of short-term financings on acceptable terms. Additionally, at December 31, 2021 , the Company has arranged for warehouse lines of credit in the amount of $0.5 billion with certain national banks to assist in funding loans held for investment under the Interim Loan Program (“Interim Warehouse Facilities”). The Company has pledged substantially all of its loans held for investment against these Interim Warehouse Facilities. The Company’s ability to originate loans held for investment depends upon its ability to secure and maintain these types of short-term financings on acceptable terms. The maximum amount and outstanding borrowings under Warehouse notes payable at December 31, 2021 and 2020 are as follows: December 31, 2021 (dollars in thousands) Committed Uncommitted Total Facility Outstanding Facility (1) Amount Amount Capacity Balance Interest rate (2) Agency Warehouse Facility #1 $ 425,000 $ — $ 425,000 $ 34,032 Adjusted Term SOFR plus 1.30% Agency Warehouse Facility #2 700,000 300,000 1,000,000 147,055 30-day LIBOR plus 1.30% Agency Warehouse Facility #3 600,000 265,000 865,000 156,705 30-day LIBOR plus 1.30% Agency Warehouse Facility #4 350,000 — 350,000 45,337 30-day LIBOR plus 1.30% Agency Warehouse Facility #5 — 1,000,000 1,000,000 175,608 Adjusted Term SOFR plus 1.45% Agency Warehouse Facility #6 150,000 100,000 250,000 — 30-day LIBOR plus 1.40% Agency Warehouse Facility #7 150,000 50,000 200,000 16,289 30-day LIBOR plus 1.30% Total National Bank Agency Warehouse Facilities $ 2,375,000 $ 1,715,000 $ 4,090,000 $ 575,026 Fannie Mae repurchase agreement, uncommitted line and open maturity — 1,500,000 1,500,000 1,186,306 Total Agency Warehouse Facilities $ 2,375,000 $ 3,215,000 $ 5,590,000 $ 1,761,332 Interim Warehouse Facility #1 $ 135,000 $ — $ 135,000 $ — 30-day LIBOR plus 1.90% Interim Warehouse Facility #2 100,000 — 100,000 — 30-day LIBOR plus 1.65% to 2.00% Interim Warehouse Facility #3 200,000 — 200,000 153,009 30-day LIBOR plus 1.75% to 3.25% Interim Warehouse Facility #4 19,810 — 19,810 19,810 30-day LIBOR plus 3.00% Total National Bank Interim Warehouse Facilities $ 454,810 $ — $ 454,810 $ 172,819 Alliant Warehouse Facility $ 30,000 $ — $ 30,000 $ 8,296 Daily LIBOR plus 3.00% Debt issuance costs — — — (875) Total warehouse facilities $ 2,859,810 $ 3,215,000 $ 6,074,810 $ 1,941,572 December 31, 2020 (dollars in thousands) Committed Uncommitted Total Facility Outstanding Facility (1) Amount Amount Capacity Balance Interest rate (2) Agency Warehouse Facility #1 $ 425,000 $ — $ 425,000 $ 83,336 30-day LIBOR plus 1.40% Agency Warehouse Facility #2 700,000 300,000 1,000,000 460,388 30-day LIBOR plus 1.40% Agency Warehouse Facility #3 600,000 265,000 865,000 410,546 30-day LIBOR plus 1.15% Agency Warehouse Facility #4 350,000 — 350,000 181,996 30-day LIBOR plus 1.40% Agency Warehouse Facility #5 — 1,000,000 1,000,000 522,507 30-day LIBOR plus 1.45% Total National Bank Agency Warehouse Facilities $ 2,075,000 $ 1,565,000 $ 3,640,000 $ 1,658,773 Fannie Mae repurchase agreement, uncommitted line and open maturity — 1,500,000 1,500,000 725,085 Total agency warehouse facilities $ 2,075,000 $ 3,065,000 $ 5,140,000 $ 2,383,858 Interim Warehouse Facility #1 $ 135,000 $ — $ 135,000 $ 71,572 30-day LIBOR plus 1.90% Interim Warehouse Facility #2 100,000 — 100,000 34,000 30-day LIBOR plus 1.65% Interim Warehouse Facility #3 75,000 75,000 150,000 8,861 30-day LIBOR plus 1.75% to 3.25% Interim Warehouse Facility #4 19,810 — 19,810 19,810 30-day LIBOR plus 3.00% Total interim warehouse facilities $ 329,810 $ 75,000 $ 404,810 $ 134,243 Debt issuance costs — — — (945) Total warehouse facilities $ 2,404,810 $ 3,140,000 $ 5,544,810 $ 2,517,156 (1) Agency Warehouse Facilities, including the Fannie Mae repurchase agreement are used to fund loans held for sale, while Interim Warehouse Facilities are used to fund loans held for investment. (2) Interest rate presented does not include the effect of interest rate floors. Interest expense under the warehouse notes payable for the years ended December 31, 2021, 2020, and 2019 aggregated to $34.5 million, $45.0 million, and $58.1 million, respectively. Included in interest expense in 2021, 2020, and 2019 are the amortization of facility fees totaling $3.8 million, $4.1 million, and $4.9 million, respectively. The warehouse notes payable are subject to various financial covenants, and the Company was in compliance with all such covenants at December 31, 2021 . Agency Warehouse Facilities The following section provides a summary of the key terms related to each of the Agency Warehouse Facilities. The Company believes that the seven remaining committed and uncommitted credit facilities from national banks and the uncommitted credit facility from Fannie Mae provide the Company with sufficient borrowing capacity to conduct its Agency lending operations. Agency Warehouse Facility #1: The Company has a warehousing credit and security agreement with a national bank for a $425.0 million committed warehouse line that is scheduled to mature on October 24, 2022 . The agreement provides the Company with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans. Advances are made at 100% of the loan balance and borrowings under this line bear interest at the Adjusted Term Secured Overnight Financing Rate (“SOFR”) plus 130 basis points. The agreement contains certain affirmative and negative covenants that are binding on the Company’s operating subsidiary, Walker & Dunlop, LLC (which are in some cases subject to exceptions), including, but not limited to, restrictions on its ability to assume, guarantee, or become contingently liable for the obligation of another person, to undertake certain fundamental changes such as reorganizations, mergers, amendments to the Company’s certificate of formation or operating agreement, liquidations, dissolutions or dispositions or acquisitions of assets or businesses, to cease to be directly or indirectly wholly owned by the Company, to pay any subordinated debt in advance of its stated maturity or to take any action that would cause Walker & Dunlop, LLC to lose all or any part of its status as an eligible lender, seller, servicer or issuer or any license or approval required for it to engage in the business of originating, acquiring, or servicing mortgage loans. In addition, the agreement requires compliance with certain financial covenants, which are measured for the Company and its subsidiaries on a consolidated basis, as follows: ● tangible net worth of the Company of not less than (i) $200.0 million plus (ii) 75% of the net proceeds of any equity issuances by the Company or any of its subsidiaries after the closing date; ● compliance with the applicable net worth and liquidity requirements of Fannie Mae, Freddie Mac, Ginnie Mae, FHA, and HUD; ● liquid assets of the Company of not less than $15.0 million; ● maintenance of aggregate unpaid principal amount of all mortgage loans comprising the Company’s consolidated servicing portfolio of not less than $20.0 billion or all Fannie Mae DUS mortgage loans comprising the Company’s consolidated servicing portfolio of not less than $10.0 billion, exclusive in both cases of mortgage loans which are 60 or more days past due or are otherwise in default or have been transferred to Fannie Mae for resolution; ● aggregate unpaid principal amount of Fannie Mae DUS mortgage loans within the Company’s consolidated servicing portfolio which are 60 or more days past due or otherwise in default not to exceed 3.5% of the aggregate unpaid principal balance of all Fannie Mae DUS mortgage loans within the Company’s consolidated servicing portfolio; and ● maximum indebtedness (excluding warehouse lines) to tangible net worth of 2.25 to 1.00 (the “leverage ratio”). The agreement contains customary events of default, which are in some cases subject to certain exceptions, thresholds, notice requirements, and grace periods. During 2021, the Company executed amendments to the agreement that extended the maturity date to October 24, 2022 and transitioned the base rate from 30-day LIBOR to Adjusted Term SOFR effective December 21, 2021. No other material modifications were made to the agreement in 2021. Agency Warehouse Facility #2 The Company has a warehousing credit and security agreement with a national bank for a $700.0 million committed warehouse line that is scheduled to mature on April 14, 2022 . The committed warehouse facility provides the Company with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans. Advances are made at 100% of the loan balance, and borrowings under this line bear interest at 30-day LIBOR plus 130 basis points. In addition to the committed borrowing capacity, the agreement provides $300.0 million of uncommitted borrowing capacity that bears interest at the same rate as the committed facility. During 2021, the Company executed amendments to the warehouse agreement that extended the maturity date thereunder until April 14, 2022 and decreased the borrowing rate as noted in the tables above. No other material modifications were made to the agreement during 2021. The negative and financial covenants of the amended and restated warehouse agreement conform to those of the warehouse agreement for Agency Warehouse Facility #1, described above, with the exception of the leverage ratio covenant, which is not included in the warehouse agreement for Agency Warehouse Facility #2. Agency Warehouse Facility #3: The Company has a $600.0 million committed warehouse credit and security agreement with a national bank that is scheduled to mature on May 14, 2022 . The committed warehouse facility provides the Company with the ability to fund Fannie Mae, Freddie Mac, HUD and FHA loans. Advances are made at 100% of the loan balance, and the borrowings under the warehouse agreement bear interest at a rate of 30-day LIBOR plus 130 basis points. In addition to the committed borrowing capacity, the agreement provides $265.0 million of uncommitted borrowing capacity that bears interest at the same rate as the committed facility. During 2021, the Company executed amendments to the warehouse agreement related to this facility that extended the maturity date to May 14, 2022 , increased the borrowing rate as noted in the tables above, and decreased the 30-day LIBOR floor to zero basis points. No other material modifications were made to the agreement during 2021. The negative and financial covenants of the warehouse agreement conform to those of the warehouse agreement for Agency Warehouse Facility #1, described above. Agency Warehouse Facility #4: The Company has a $350.0 million committed warehouse credit and security agreement with a national bank that is scheduled to mature on June 22, 2022 . The committed warehouse facility provides the Company with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans and has a sublimit of $75.0 million to fund defaulted HUD and FHA loans. Advances are made at 100% of the loan balance, and the borrowings under the warehouse agreement bear interest at a rate of 30-day LIBOR plus 130 basis points, with a 30-day LIBOR floor of five basis points. During 2021, the Company executed an amendment to the warehouse agreement that extended the maturity date of the warehouse agreement to June 22, 2022 , decreased the borrowing rate as noted in the tables above, and decreased the 30-day LIBOR floor to five basis points. No other material modifications were made to the agreement during 2021. The negative and financial covenants of the warehouse agreement conform to those of the warehouse agreement for Agency Warehouse Facility #1, described above, with the exception of the leverage ratio covenant, which is not included in the warehouse agreement for Agency Warehouse Facility #4. Agency Warehouse Facility #5: The Company has a master repurchase agreement with a national bank for a $1.0 billion uncommitted advance credit facility that is scheduled to mature on September 15, 2022. The facility provides the Company with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans. Advances are made at 100% of the loan balance, and the borrowings under the repurchase agreement bear interest at a rate of Adjusted Term SOFR plus 145 basis points. During 2021, the Company executed an amendment to extend the maturity date to September 15, 2022. No other material modifications were made to the agreement during 2021. The negative and financial covenants of the repurchase agreement conform to those of the warehouse agreement for Agency Warehouse Facility #1, described above, with the exception of a four-quarter rolling EBITDA, as defined, . Agency Warehouse Facility #6: During 2021, the Company executed an agreement with a national bank to establish Agency Warehouse Facility #6. The warehouse facility has a $150.0 million maximum committed borrowing capacity, provides us with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans, and matures on March 5, 2022 . Advances are made at 100% of the loan balance, and the borrowings under the warehouse agreement bear interest at a rate of 30-day LIBOR plus 140 basis points with a 30-day LIBOR floor of 25 basis points. In addition to the committed borrowing capacity, the agreement provides $100.0 million of uncommitted borrowing capacity that bears interest at the same rate as the committed facility. No material modifications have been made to the agreement during 2021. The facility agreement requires the Company’s compliance with the same financial covenants as provided in the facility agreement for Agency Warehouse Facility #1, as described above. Agency Warehouse Facility #7: During 2021, the Company executed an agreement with a national bank to establish Agency Warehouse Facility #7. The warehouse facility has a $150.0 million maximum committed borrowing capacity, provides us with the ability to fund Fannie Mae, Freddie Mac, HUD, and FHA loans, and matures on August 24, 2022 . Advances are made at 100% of the loan balance, and the borrowings under the warehouse agreement bear interest at a rate of 30-day LIBOR plus 130 basis points. In addition to the committed borrowing capacity, the agreement provides $50.0 million of uncommitted borrowing capacity that bears interest at the same rate as the committed facility. No material modifications have been made to the agreement during 2021. The facility agreement requires the Company’s compliance with the same financial covenants as provided in the facility agreement for Agency Warehouse Facility #1, as described above. Uncommitted Agency Warehouse Facility: The Company has a $1.5 billion uncommitted facility with Fannie Mae under its ASAP funding program. After approval of certain loan documents, Fannie Mae will fund loans after closing, and the advances are used to repay the primary warehouse line. Fannie Mae will advance 99% of the loan balance. There is no expiration date for this facility. The uncommitted facility has no specific negative or financial covenants. Interim Warehouse Facilities The following section provides a summary of the key terms related to each of the Interim Warehouse Facilities. Interim Warehouse Facility #1 : The Company has a $135.0 million committed warehouse line agreement that is scheduled to mature on May 14, 2022 . The facility provides the Company with the ability to fund first mortgage loans on multifamily real estate properties for periods of up to three years , using available cash in combination with advances under the facility. Borrowings under the facility are full recourse to the Company and bear interest at 30-day LIBOR plus 190 basis points, with a 30-day LIBOR floor of zero basis points. Repayments under the credit agreement are interest-only, with principal repayments made upon the earlier of the refinancing of an underlying mortgage or the maturity of an advance under the credit agreement. During 2021, the Company executed amendments to the agreement that extended the maturity date to May 14, 2022 and decreased the 30-day LIBOR floor to zero basis points. No other material modifications were made to the agreement during 2021. The facility agreement requires the Company’s compliance with the same financial covenants as Agency Warehouse Facility #1, described above, and also includes the following additional financial covenant: minimum rolling four-quarter EBITDA, as defined, to total debt service ratio of 2.00 to 1.00 that is applicable to Interim Warehouse Facility #1. Interim Warehouse Facility #2 : The Company has a $100.0 million committed warehouse line agreement that is scheduled to mature on December 13, 2023 . The agreement provides the Company with the ability to fund first mortgage loans on multifamily real estate properties for periods of up to three years , using available cash in combination with advances under the facility. Borrowings under the facility are full recourse to the Company. All borrowings originally bear interest at 30-day LIBOR plus 165 to 200 basis points (“the spread”). The spread varies according to the type of asset the borrowing finances. The lender retains a first priority security interest in all mortgages funded by such advances on a cross-collateralized basis. Repayments under the credit agreement are interest-only, with principal repayments made upon the earlier of the refinancing of an underlying mortgage or the maturity of an advance under the credit agreement. No material modifications were made to the agreement during 2021. During February 2022, the Company executed an amended and restated agreement that extended the maturity date to December 13, 2023 and transitioned the interest rate from 30-day LIBOR to Adjusted Term SOFR plus 135 to 185 basis points, with a SOFR floor of zero basis points. The credit agreement requires the borrower and the Company to abide by the same financial covenants as Agency Warehouse Facility #1, described above, with the exception of the leverage ratio covenant, which is not included in the warehouse agreement for Interim Warehouse Facility #2. Additionally, Interim Warehouse Facility #2 has the following additional financial covenants: ● rolling four-quarter EBITDA, as defined, of not less than $35.0 million and ● debt service coverage ratio, as defined, of not less than 2.75 to 1.00. Interim Warehouse Facility #3 : The Company has a $200.0 million repurchase agreement with a national bank that is scheduled to mature on September 29, 2022 . The agreement provides the Company with the ability to fund first mortgage loans on multifamily real estate properties for periods of up to three years , using available cash in combination with advances under the facility. Borrowings under the facility are full recourse to the Company. The borrowings under the agreement bear interest at a rate of 30-day LIBOR plus 175 to 325 basis points (“the spread”). The spread varies according to the type of asset the borrowing finances. Repayments under the credit agreement are interest-only, with principal repayments made upon the earlier of the refinancing of an underlying mortgage or the maturity of an advance under the credit agreement. During 2021, the Company executed an amendment that extended the maturity date to September 29, 2022 , increased the committed borrowing capacity to $200.0 million, and eliminated the uncommitted borrowing capacity. No other material modifications were made to the agreement during 2021. The repurchase agreement requires the borrower and the Company to abide by the following financial covenants: ● tangible net worth of the Company of not less than (i) $200.0 million plus (ii) 75% of the net proceeds of any equity issuances by the Company or any of its subsidiaries after the closing date; ● liquid assets of the Company of not less than $15.0 million; ● leverage ratio, as defined, of not more than 3.0 to 1.0; and ● debt service coverage ratio, as defined, of not less than 2.75 to 1.00. Interim Warehouse Facility #4 : The Company has a $19.8 million warehouse loan and security agreement with a national bank that funds one specific loan. The agreement provides for a maturity date to coincide with the earlier of the maturity date for the underlying loan or the stated maturity date of October 1, 2022 . Borrowings under the facility are full recourse and bear interest at 30-day LIBOR plus 300 basis points, with a floor of 450 basis points. Repayments under the credit agreement are interest-only, with principal repayments made upon the earlier of the refinancing of an underlying mortgage or the maturity of an advance under the credit agreement. During 2021, the Company executed an amendment that extended the stated maturity date to October 1, 2022 . We may request additional capacity under the agreement to fund specific loans. No other material modifications were made to the agreement in 2021. The facility agreement has only two financial covenants: ● tangible net worth of the Company of not less than (i) $200.0 million plus (ii) 75% of the net proceeds of any equity issuances by the Company or any of its subsidiaries after the closing date; and ● liquid assets of the Company of not less than $15.0 million We believe that the four committed and uncommitted interim credit facilities from national banks and our corporate cash provide us with sufficient borrowing capacity to conduct our Interim Loan Program lending operations. The warehouse agreements contain cross-default provisions, such that if a default occurs under any of the Company’s warehouse agreements, generally the lenders under the other warehouse agreements could also declare a default. As of December 31, 2021, the Company was in compliance with all of its warehouse facility covenants. Alliant Warehouse Facility: In December 2021, the Company acquired Alliant and assumed the liabilities of Alliant and its subsidiaries (as defined in NOTE 7), including a warehouse line of credit with a national bank that is used to fund the Company’s Committed investments in tax credit equity before transferring them to a tax credit fund. The warehouse facility is a revolving commitment that is expected to renew bi-annually. The credit agreement is scheduled to mature on April 30, 2022 . The facility provides the Company with up to $30.0 million in committed borrowing capacity to fund investments in affordable housing limited partnerships that also secure the borrowings. Borrowings under this facility bear interest at the Daily LIBOR plus 300 basis points with a Daily LIBOR floor of 150 basis points. In December 2021, the Company executed an amendment that extended the maturity date to April 30, 2022 . No other material modifications were made to the agreement since the acquisition of Alliant. The agreement requires compliance with certain financial covenants, which are measured for Alliant and its subsidiaries, as follows: ● liquid assets of the Company of not less than $5.0 million and $10.0 million measured as of June 30 and December 31, respectively, of each year; ● tangible net worth of the Company of not less than $200.0 million; and ● annual cash flows of $15.0 million as defined by the agreement. As of December 31, 2021, the outstanding balance was $8.3 million, and the Company was in compliance with the covenants outlined above. Due to the short-term nature of the facility and variable interest rate, no purchase accounting adjustment was applied to the carrying value on the Consolidated Balance Sheets. Notes payable The following section provides a summary of the key terms related to each of the Company’s notes payable. Term Loan Note Payable On December 16, 2021, the Company entered into a senior secured credit agreement (the “Credit Agreement”) that amended and restated the Company’s prior credit agreement and provided for a $600.0 million term loan (the “Term Loan”). The Credit Agreement replaces our $300 million term loan agreement (the “Prior Term Loan”), which was governed by that certain amended and restated credit agreement, dated November 7, 2018. The Term loan was issued at a 0.25% discount, has a stated maturity date of December 16, 2028 (or, if earlier, the date of acceleration of the Term Loan pursuant to the term of the Term Loan Agreement) , and bears interest at Adjusted Term SOFR rate plus 225 basis points with an Adjusted Term SOFR floor of 50 basis points. At any time, the Company may also elect to request one or more incremental term loan commitments not to exceed $230.0 million and 100% of trailing four-quarter Consolidated Adjusted EBITDA , provided that the total indebtedness would not cause the leverage ratio (as defined in the Credit Agreement) to exceed 3.00 to 1.00. The Company used $292.5 million of the Term Loan proceeds to repay in full the prior term loan. In connection with the repayment of the prior term loan, the Company recognized a $2.7 million loss on extinguishment of debt related to unamortized debt issuance costs and unamortized debt discount, which is included in Other operating expenses in the Consolidated Statements of Income and Amortization of debt issuance costs and debt discount in the Consolidated Statement of Cash flows for the year ended December 31, 2021. The Company is obligated to repay the aggregate outstanding principal amount of the Term Loan in consecutive quarterly installments equal to 0.25% of the aggregate original principal amount of the term loan on the last business day of each of March, June, September, and December commencing on March 31, 2022. The term loan also requires certain other prepayments in certain circumstances pursuant to the terms of the Term Loan Agreement. The final principal installment of the term loan is required to be paid in full on December 16, 2028 (or, if earlier, the date of acceleration of the term loan pursuant to the terms of the Term Loan Agreement) and will be in an amount equal to the aggregate outstanding principal of the term loan on such date (together with all accrued interest thereon). The obligations of the Company under the Credit Agreement are guaranteed by Walker & Dunlop Multifamily, Inc., Walker & Dunlop, LLC, Walker & Dunlop Capital, LLC, W&D BE, Inc., and Walker & Dunlop Investment Sales, LLC, each of which is a direct or indirect wholly owned subsidiary of the Company (together with the Company, the “Loan Parties”), pursuant to the Amended and Restated Guarantee and Collateral Agreement entered into on December 16, 2021 among the Loan Parties and JPMorgan Chase Bank, N.A., as administrative agent (the “Guarantee and Collateral Agreement”). Subject to certain exceptions and qualifications contained in the Credit Agreement, the Company is required to cause any newly created or acquired subsidiary, unless such subsidiary has been designated as an Excluded Subsidiary (as defined in the Credit Agreement) by the Company in accordance with the terms of the Credit Agreement, to guarantee the obligations of the Company under the Credit Agreement and become a party to the Guarantee and Collateral Agreement. The Company may designate a newly created or acquired subsidiary as an Excluded Subsidiary, so long as certain conditions and requirements provided for in the Credit Agreement are met. The Credit Agreement contains certain affirmative and negative covenants that are binding on the Loan Parties, including, but not limited to, restrictions (subject to specified exceptions and qualifications) on the ability of the Loan Parties to incur indebtedness, to create liens on their property, to make investments, to merge, consolidate or enter into any similar combination, or enter into any asset disposition of all or substantially all assets, or liquidate, wind-up or dissolve, to make asset dispositions, to declare or pay dividends or make related distributions, to enter into certain transactions with affiliates, to enter into any negative pledges or other restrictive agreements, and to engage in any business other than the business of the Loan Parties as of the date of the Credit Agreement and business activities reasonably related or ancillary thereto, or to amend certain material contracts. The Credit Agreement contains only one financial covenant, which requires the Company not to permit its asset coverage ratio (as defined in the Credit Agreement) to be less than 1.50 to 1.00, tested quarterly. The Credit Agreement contains customary events of default (which are, in some cases, subject to certain exceptions, thresholds, notice requirements and grace periods), including, but not limited to, non-payment of principal or interest or other amounts, misrepresentations, failure to perform or observe covenants, cross-defaults with certain other indebtedness or material agreements, certain change in control events, voluntary or involuntary bankruptcy proceedings, failure of the Credit Agreements or other loan documents to be valid and binding, certain ERISA events and judgments. As of December 31, 2021, the Company was in compliance with all covenants related to the Credit Agreement. Alliant Note Payable Through the acquisition of Alliant, the Company assumed Alliant’s note payable, which has an outstanding balance of $145.2 million as of December 31, 2021 and bears interest at a fixed rate of 4.75% . The note has a stated maturity of January 15, 2035 . The Company’s carrying value of the Alliant note payable was $150.6 million, inclusive of a $5.4 million purchase accounting fair value adjustment. The note requires quarterly payments of principal, interest, and other required priority items shortly after the beginning of each quarter. The note is collateralized by specific legal rights to receive a formulaic portion of future cash flows from Alliant’s LIHTC operations. These cash flows are deposited into a collection account and used to make a minimum principal payment that is based on a defined amortization schedule. If funds remain after making the minimum principal payment, an amount based on a defined percentage of the remaining funds may be used to make an additional principal payment. If the funds in the collection account are insufficient to cover the minimum principal payment, the entire balance of the collection account is used to pay down the principal balance. The Company may elect to make principal payments in addition to the amount required by the note agreement. The balance of the collection account is included in Restricted cash on our Consolidated Balance Sheets. The following table shows the components of the note payable as of December 31, 2021 and 2020 : (in thousands, unless otherwise specified) December 31, 2021 2020 Interest rate and repayments Term Loan Note Payable Unpaid principal balance $ 600,000 $ 294,773 Interest rate varies - see above for further details; Unamortized debt discount (1,491) (1,026) Quarterly principal payments of $1.5 million and $0.8 million, respectively Unamortized debt issuance costs (8,914) (2,154) Carrying balance $ 589,595 $ 291,593 Alliant Note Payable Unpaid principal balance $ 145,175 $ — 4.75% Fixed-rate Fair value adjustment (1) 5,404 — Carrying balance $ 150,579 $ — Total Notes Payable Carrying Balance $ 740,174 $ 291,593 (1) Fair value adjustment related to the purchas |