Debt | Note 7—Debt Debt consists of the following (in thousands): For the Year Ended December 31, 2023 2022 Term Loan Credit Facility $ 180,000 $ 148,995 Less: Debt discount, net of accumulated amortization of $ 480 and $ 546 , respectively ( 6,769 ) ( 1,254 ) Less: Deferred financing fees, net of accumulated amortization of $ 29 and $ 248 , respectively ( 411 ) ( 567 ) Less: Current portion (a) — ( 20,586 ) Long-term debt $ 172,820 $ 126,588 (a) The current portion of long-term debt reflects payments based on the terms of the 2023 Term Loan Credit Facility and the 2021 Term Loan Credit Facility as of December 31, 2023 and December 31, 2022, respectively. 2023 Term Loan Credit Facility On July 31, 2023, Atlas LLC entered into the 2023 Term Loan Credit Agreement. The Initial Term Loan is payable in eighty-four consecutive monthly installments and a final payment of the remaining outstanding principal balance at maturity. The Initial Term Loan has a final maturity date of August 1, 2030 (the “Maturity Date”). The Initial Term Loan bears interest at a rate equal to 9.50 % per annum. Each delayed draw term loan (the “DDT Loans”) under the 2023 Term Loan Credit Facility will be payable in equal monthly installments, with the monthly installments comprising 80 % of the DDT Loan and a final payment of the remaining 20 % of the outstanding principal balance due at maturity, unless earlier prepaid. The DDT Loans will bear interest at a rate equal to the applicable Term SOFR Rate as of each Delayed Draw Funding Date (each as defined in the 2023 Term Loan Credit Agreement) plus 5.95 % per annum. All monthly installments with respect to the Initial Term Loan and the DDT Loans payable on or prior to January 1, 2025 will be interest only. At any time prior to the Maturity Date, Atlas LLC may redeem loans outstanding under the 2023 Term Loan Credit Facility, in whole or in part, at a price equal to 100 % of the principal amount being prepaid (the “Prepayment Amount”) plus a prepayment fee. The prepayment fee is equal to 8 % of the Prepayment Amount for any prepayment that occurs on or prior to December 31, 2024, 4 % of the Prepayment Amount for any prepayment that occurs after December 31, 2024 but on or prior to December 31, 2025, 3 % of the Prepayment Amount for any prepayment that occurs after December 31, 2025 but on or prior to December 31, 2026 and 2 % of the Prepayment Amount for any prepayment that occurs thereafter. Upon the maturity of the 2023 Term Loan Credit Facility, the entire unpaid principal amount of the loans outstanding thereunder, together with interest, fees and other amounts payable in connection with the facility, will be immediately due and payable without further notice or demand. Dividends and distributions to equity holders are permitted to be made pursuant to certain limited exceptions and baskets described in the 2023 Term Loan Credit Agreement and otherwise generally subject to certain restrictions set forth in the 2023 Term Loan Credit Agreement, including the requirements that (a) no Event of Default (as defined under the 2023 Term Loan Credit Agreement) has occurred and is continuing and (b) Atlas LLC maintains at least $ 30.0 million of Liquidity (as defined under the 2023 Term Loan Credit Agreement) pro forma for the Restricted Payment (as defined under the 2023 Term Loan Credit Agreement). The 2023 Term Loan Credit Facility includes certain non-financial covenants, including but not limited to restrictions on incurring additional debt and certain distributions. The 2023 Term Loan Credit Facility is subject to a maximum 4.0 to 1.0 Leverage Ratio (as defined in the 2023 Term Loan Credit Agreement) financial covenant. Such financial covenant is tested as of the last day of each fiscal quarter. Proceeds from the 2023 Term Loan Credit Facility were used to repay outstanding indebtedness under our previous 2021 Term Loan Credit Facility with Stonebriar, to repay obligations outstanding under certain equipment lease arrangements with Stonebriar and for general corporate purposes. As of December 31, 2023, the Company was in compliance with the covenants of the 2023 Term Loan Credit Facility. The 2023 Term Loan Credit Facility is unconditionally guaranteed, jointly and severally, by Atlas LLC and its subsidiaries and secured by substantially all of the assets of Atlas LLC and its subsidiaries. The 2023 Term Loan Credit Facility is unconditionally guaranteed on an unsecured basis by Atlas Energy Solutions Inc. 2023 ABL Credit Facility On February 22, 2023, Atlas LLC, certain of its subsidiaries, as guarantors, Bank of America, N.A., as agent, and certain financial institutions party thereto as lenders (the “2023 ABL Lenders”) entered into a Loan, Security and Guaranty Agreement (the “2023 ABL Credit Agreement”) pursuant to which the 2023 ABL Lenders provide revolving credit financing to Atlas LLC in an aggregate principal amount of up to $ 75.0 million (the “2023 ABL Credit Facility”), with Availability (as defined in the 2023 ABL Credit Agreement) thereunder subject to a “Borrowing Base” as described in the 2023 ABL Credit Agreement. The 2023 ABL Credit Facility includes a letter of credit sub-facility, which permits issuance of letters of credit up to an aggregate amount of $ 25.0 million. The scheduled maturity date of the 2023 ABL Credit Facility is February 22, 2028 ; provided that the 2023 ABL Credit Facility will mature on June 30, 2027 if any amount of the 2023 Term Loan Credit Facility that has a maturity date less than 91 days prior to February 22, 2028 is outstanding on June 30, 2027. As of December 31, 2023, Atlas LLC had no outstanding borrowings and $ 1.1 million outstanding letters of credit under the 2023 ABL Credit Facility. Atlas LLC may also request swingline loans under the 2023 ABL Credit Agreement in an aggregate principal amount not to exceed $ 7.5 million. During the year ended December 31, 2023, Atlas LLC had no outstanding swingline loans under the 2023 ABL Credit Facility. Borrowings under the 2023 ABL Credit Facility bear interest, at Atlas LLC’s option, at either a base rate or Term SOFR, as applicable, plus an applicable margin based on average availability as set forth in the 2023 ABL Credit Agreement. Term SOFR loans bear interest at Term SOFR for the applicable interest period plus an applicable margin, which ranges from 1.50 % to 2.00 % per annum based on average availability as set forth in the 2023 ABL Credit Agreement. Base rate loans bear interest at the applicable base rate, plus an applicable margin, which ranges from 0.50 % to 1.00 % per annum based on average availability as set forth in the 2023 ABL Credit Agreement. In addition to paying interest on outstanding principal under the 2023 ABL Credit Facility, Atlas LLC is required to pay a commitment fee which ranges from 0.375 % per annum to 0.500 % per annum with respect to the unutilized commitments under the 2023 ABL Credit Facility, based on the average utilization of the 2023 ABL Credit Facility. Atlas LLC is required to pay customary letter of credit fees, to the extent that one or more letter of credit is outstanding. For the year ended December 31, 2023, we recognized $ 0.3 million of interest expense, unutilized commitment fees and other fees under the 2023 ABL Credit Facility, classified as interest expense. The Borrowing Base was initially set at $ 75.0 million and the amount of available credit changes every month, depending on the amount of eligible accounts receivable and inventory we have available to serve as collateral. The Borrowing Base components are subject to customary reserves and eligibility criteria. As of December 31, 2023, the Borrowing Base was $ 75.0 million and Availability was $ 73.9 million. The 2023 ABL Credit Facility requires that if Availability is less than the greater of (i) 12.50 % of the Borrowing Base and (ii) $ 7.5 million, Atlas LLC must maintain a Fixed Charge Coverage Ratio (as defined in the 2023 ABL Credit Agreement) of at least 1.00 to 1.00 while a Covenant Trigger Period (as defined in the 2023 ABL Credit Agreement) is in effect. Under the 2023 ABL Credit Agreement, Atlas LLC is permitted to make payments of dividends and distributions pursuant to certain limited exceptions and baskets set forth therein and otherwise generally subject to certain restrictions described therein, including that (i) no Event of Default (as defined under the 2023 ABL Credit Agreement) has occurred and is continuing, and (ii) no loans and no more than $ 7.5 million in letters of credit that have not been cash collateralized are outstanding, and liquidity exceeds $ 30.0 million at all times during the 30 days prior to the date of the dividend or distribution; provided that if any loans are outstanding or outstanding letters of credit exceed $ 7.5 million and no Event of Default has occurred and is continuing, then Atlas LLC is permitted to make payments of dividends and distributions if, (i) Availability (as defined under the 2023 ABL Credit Agreement) is higher than the greater of (a) $ 12 million and (b) 20 % of the pro forma Borrowing Base then in effect and during the 30 days prior to the date of the dividend or distribution as if such dividend or distribution had been made at the beginning of such period, or if (ii) (a) Availability is higher than the greater of (x) $ 9 million and (y) 15 % of the pro forma Borrowing Base then in effect and during the 30 days prior to the date of the dividend or distributions as if such dividend or distribution had been made at the beginning of such period and (b) the Fixed Charge Coverage Ratio (as defined under the 2023 ABL Credit Agreement), as calculated on a pro forma basis, is greater than 1.00 to 1.00 , as provided under the 2023 ABL Credit Agreement. Additionally, Atlas LLC may make additional payments of dividends and distributions in qualified equity interests and may make Permitted Tax Distributions (as defined under the 2023 ABL Credit Agreement). The 2023 ABL Credit Facility contains certain customary representations and warranties, affirmative and negative covenants, and events of default. As of December 31, 2023, the Company was in compliance with the covenants under the 2023 ABL Credit Facility. The 2023 ABL Credit Facility is unconditionally guaranteed, jointly and severally, by Atlas LLC and its subsidiaries and secured by substantially all of the assets of Atlas LLC and its subsidiaries. 2021 Term Loan Credit Facility On October 20, 2021, Atlas LLC entered into a credit facility with Stonebriar (the “2021 Term Loan Credit Facility”) . The loans outstanding under the 2021 Term Loan Credit Facility bore interest at a rate of 8.47 % per annum and had an initial maturity date of October 1, 2027 . The 2021 Term Loan Credit Facility was unconditionally guaranteed, jointly and severally, by Atlas LLC and certain of its subsidiaries. The 2021 Term Loan Credit Facility was guaranteed on a secured basis and interest, plus principal, was initially payable in consecutive monthly installments. At any time prior to the October 1, 2027, maturity date, Atlas LLC could redeem the 2021 Term Loan Credit Facility, in whole or in part, at a price equal to 100 % of the principal amount plus a prepayment fee. The prepayment fee ranged from 3 % on or before October 20, 2022, to 2 % after October 20, 2022, and on or before October 20, 2023, and 1 % thereafter. Upon maturity of the 2021 Term Loan Credit Facility, the entire unpaid principal amount, together with interest, fees and other amounts payable in connection with the facility, would be immediately due and payable without further notice or demand. The 2021 Term Loan Credit Facility included certain covenants, including but not limited to restrictions on incurring additional debt and certain restricted payments. The 2021 Term Loan Credit Facility was not subject to financial covenants unless $ 5.0 million or more in aggregate was outstanding under the 2023 ABL Credit Agreement (as defined below), at which time a minimum average liquidity balance of $ 20.0 million must be maintained. Dividends and distributions to equity holders were permitted to be made pursuant to certain limited exceptions and baskets as described in the credit agreement governing the 2021 Term Loan Credit Facility (the “2021 Term Loan Credit Agreement”) and otherwise generally subject to certain restrictions as described in the 2021 Term Loan Credit Agreement, including the requirements that (a) no Event of Default (as defined in the 2021 Term Loan Credit Agreement) have occurred and be continuing, (b) Atlas LLC maintaining a $ 30.0 million cash balance pro forma for the Restricted Payment (as defined in the 2021 Term Loan Credit Agreement), (c) an Annualized Leverage Ratio (as defined in the 2021 Term Loan Credit Agreement) not greater than 2.00 to 1.00 and (d) Atlas LLC making a concurrent prepayment of the loans outstanding under the 2021 Term Loan Credit Facility, which prepayment would not subject to a prepayment penalty fee, in an amount equal to one-third or one-forth of the total equity distributions being made, based on a pro forma leverage ratio set forth in the 2021 Term Loan Credit Agreement. Furthermore, the 2021 Term Loan Credit Facility permitted dividends and distributions in certain other circumstances subject to the terms of the 2021 Term Loan Credit Agreement, including dividends and distributions made solely in certain qualified equity interests, tax distributions, and dividends of up to 10.0 % per annum of the net proceeds raised in our IPO. During 2022, Atlas LLC paid $ 45.0 million of equity distributions and concurrently prepaid $ 12.6 million of the 2021 Term Loan Credit Facility as required by the terms described above. In January 2023, prior to the Reorganization, the board of managers of Atlas LLC approved and paid $ 15.0 million of equity distributions, and Atlas LLC concurrently prepaid $ 3.8 million of the 2021 Term Loan Credit Facility as required by the terms described above. In May 2023, Atlas Operating approved and paid a distribution of $ 0.15 per Operating Unit, in the aggregate amount of $ 15.0 million, as permitted by the Amended and Restated Limited Liability Company Agreement of Atlas Operating (the “Atlas Operating LLCA”), and Atlas LLC declared and paid a quarterly variable dividend of $ 0.15 per share of Old Atlas Class A Common Stock. Concurrently with this distribution and dividend, Atlas LLC repaid $ 3.8 million of the 2021 Term Loan Credit Facility at par per the terms of the 2021 Term Loan Credit Facility. Proceeds from the 2021 Term Loan Credit Facility were used exclusively for general corporate purposes, which included the repayment of outstanding indebtedness under the 2018 Term Loan Credit Facility, and to make permitted distributions. As of December 31, 2022, the Atlas LLC was in compliance with the covenants of the 2021 Term Loan Credit Facility. The 2021 Term Loan Credit Facility was unconditionally guaranteed, jointly and severally, by Atlas LLC and certain of its subsidiaries and secured by substantially all of the assets of Atlas LLC and certain of its subsidiaries, excluding: OLC Kermit, LLC, OLC Monahans, LLC and Atlas OLC Employee Company, LLC. On February 22, 2023, Atlas LLC and Stonebriar agreed to amend the 2021 Term Loan Credit Facility to, among other things, permit Atlas LLC to enter into the 2023 ABL Credit Facility with the 2023 ABL Lenders and to update certain related terms. Repayment of the 2021 Term Loan Credit Facility On July 31, 2023, Atlas LLC entered into the 2023 Term Loan Credit Agreement with Stonebriar, proceeds from which were used to repay $ 133.4 million of 2021 Term Loan Credit Facility principal and accrued interest, repay $ 42.8 million of finance lease liabilities, as well as acquire $ 39.5 million of finance lease assets associated with certain equipment lease arrangements with Stonebriar. In connection with this refinancing, on July 31, 2023, we paid the lender a prepayment fee on the 2021 Term Loan Credit Facility of $ 2.6 million, a senior secured term loan fee on the 2023 Term Loan Credit Facility of $ 2.7 million and a DDT Loan fee on the 2023 Term Loan Credit Facility of $ 2.7 million. As this transaction was accounted for as a modification under ASC 470 - Debt, these fees paid to the lender, as well as previously unamortized debt discount and deferred financing fees associated with the 2021 Term Loan Credit Facility of $ 1.4 million were deferred and recorded as a direct reduction from the carrying amount of the debt obligation on the consolidated balance sheets. These deferred costs are amortized to interest expense using the effective interest method. 2018 Asset-Based Loan Credit Facility On December 14, 2018, Atlas LLC entered into the 2018 ABL Credit Facility that provided revolving credit financing with a borrowing capacity of up to $ 50.0 million. The 2018 ABL Credit Facility was unconditionally guaranteed, jointly and severally, by Atlas LLC and its subsidiaries. The 2018 ABL Credit Facility had a maturity date of December 14, 2023 . As of December 31, 2022, Atlas LLC had no outstanding borrowings under the 2018 ABL Credit Facility. The 2018 ABL Credit Facility included a letter of credit which permitted issuances of letters of credit up to an aggregate amount of $ 10.0 million. As of December 31, 2022, Atlas LLC had $ 1.1 million of outstanding letters of credit under the 2018 ABL Credit Facility. Atlas LLC could also request swingline loans under the agreement in an aggregate principal amount not to exceed $ 7.5 million. During the year ended December 31, 2022, Atlas LLC had no outstanding swingline loans under the 2018 ABL Credit Facility. Obligations under the 2018 ABL Credit Facility were secured by a first-priority lien on substantially all assets of Atlas LLC, until September 9, 2019, when the lenders and Atlas LLC entered into a split collateral intercreditor agreement, at which time the 2018 ABL Credit Facility became secured by a first-priority lien on inventory and accounts receivable held by Atlas LLC and its subsidiaries, and a second-priority lien on the remaining assets of Atlas LLC. Initially, the borrowing base was set at $ 35.0 million for the period beginning on December 14, 2018 and ending on April 1, 2019. Thereafter, the amount of available credit changed every month, depending on the amount of eligible accounts receivable and inventory Atlas LLC had available to serve as collateral. For the period beginning on April 1, 2019, and ending on June 30, 2019, the facility was limited to the lesser of (a) 85 % to 90 % of the eligible accounts receivable and (b) 75 % of the market value of the eligible inventory. Thereafter, the facility was limited to the lesser of (i) the aggregate commitment and (ii) the sum of (a) 85 % to 90 % of the eligible accounts receivable and (b) lesser of 70 % of the cost of the eligible inventory and 85 % of the orderly liquidation value of the eligible inventory. The borrowing base components were subject to customary reserves and eligibility criteria. As of December 31, 2022, availability was $ 48.9 million. Borrowings under the 2018 ABL Credit Facility bore interest, at Atlas LLC’s option, at either a base rate or London Interbank Offered Rate (“LIBOR”), as applicable, plus an applicable margin that ranges based on average excess availability. LIBOR loans bore interest at LIBOR plus an applicable margin, which ranged from 1.50 % to 2.00 %. Base rate loans bore interest at the applicable base rate, plus an applicable margin, which ranged from 0.50 % to 2.00 %. In addition to paying interest on outstanding principal under the 2018 ABL Credit Facility, Atlas LLC was required to pay a commitment fee of 0.375 % per annum with respect to the unutilized commitment under the 2018 ABL Credit Facility, based on the average utilization of the 2018 ABL Credit Facility. Atlas LLC was also required to pay customary letter of credit fees, to the extent that one or more letter of credit was outstanding. There were no outstanding borrowings under the 2018 ABL Credit Facility as of December 31, 2022. We recognized $ 0.2 million and $ 0.2 million of interest expense, unutilized commitment fees and other fees under the 2018 ABL Credit Facility, classified as interest expense, for the years ended December 31, 2022 and 2021, respectively. The 2018 ABL Credit Facility required that if the “availability,” as defined in the credit agreement governing the 2018 ABL Credit Facility (the “2018 ABL Credit Agreement”), was less than the greater of (i) 12.50% of the maximum credit and (ii) $ 5.0 million, Atlas LLC must comply with a minimum fixed charge coverage ratio of at least 1.00 to 1.00 , for covenant trigger periods beginning after March 14, 2019. In addition, the 2018 ABL Credit Facility contained negative covenants that restricted Atlas LLC from, among other things, incurring additional debt, granting liens, entering into guarantees, entering into certain mergers, making certain loans and investments, entering into swap agreements, disposing of assets, prepaying certain debt, declaring dividends, instituting accounting changes, entering into transactions with affiliates, modifying certain material agreements or organizational documents relating to, or changing the business it conducts. The 2018 ABL Credit Facility contained certain customary representations and warranties, affirmative covenants, and events of default, including, among other things, payment defaults, breach of representations and warranties, covenant defaults, cross-defaults and cross-acceleration to certain indebtedness, certain events of bankruptcy, certain events of abandonment, certain events under the Employee Retirement Income Security Act of 1974, as amended, material judgments, actual or asserted failure of any guaranty or security document supporting the 2018 ABL Credit Facility to be in full force and effect and change of control. If such an event of default had occurred, the lenders under the 2018 ABL Credit Facility would have been entitled to take various actions, including the acceleration of amounts due under the 2018 ABL Credit Facility and all actions permitted to be taken by a secured creditor. As of December 31, 2022, Atlas LLC was in compliance with the covenants of the 2018 ABL Credit Facility. Limited Waiver and First Amendment to the 2018 ABL Credit Facility On June 4, 2019, Atlas LLC and the lenders under the 2018 ABL Credit Facility entered into the First Amendment to the 2018 ABL Credit Facility (the “Limited Waiver and First Amendment”), which extended the due date for taking certain actions with regard to two wholly-owned subsidiaries of Atlas LLC, OLC Kermit, LLC and OLC Monahans, LLC, and allowed the making of limited investments into those subsidiaries. In addition, the lender agreed to waive any defaults or events of default that may have resulted from Atlas LLC’s acquisition of the two subsidiaries. The Limited Waiver and First Amendment was extended on each of August 31, 2019, December 31, 2019, and June 30, 2020. Second Amendment to the 2018 ABL Credit Facility On October 22, 2019, Atlas LLC and the lenders under the 2018 ABL Credit Facility agreed to further amend certain terms of the 2018 ABL Credit Facility to allow Atlas LLC to enter into insurance premium financing arrangements in the ordinary course of business. Third Amendment to the 2018 ABL Credit Facility On April 13, 2020, Atlas LLC and the lenders under the 2018 ABL Credit Facility agreed to further amend certain terms of the 2018 ABL Credit Facility allowing Atlas LLC, in the event the Qualified Small Business Administration Loan (“Qualified SBA Loan”) was not forgiven, or failed to qualify for forgiveness, in accordance with the terms of the Coronavirus Aid, Relief, and Economic Security Act (“CARES ACT”), to establish reserves up to the amount of the Qualified SBA Loan that was not forgiven or failed to qualify for forgiveness. Fourth Amendment to the 2018 ABL Credit Facility On March 23, 2021, Atlas LLC and the lenders under the 2018 ABL Credit Facility agreed to further amend certain terms of the 2018 ABL Credit Facility, including expanding the list of assets available for the calculation of available credit (the “Fourth Amendment to the 2018 ABL Credit Facility”). Subsequent to the execution of the Fourth Amendment to the 2018 ABL Credit Facility, the 2018 ABL Credit Facility was limited to the lessor of (i) the aggregate commitment and (ii) the sum of (a) 90 % of the book value of eligible accounts receivable, (b) lesser of 100 % “Pledged Cash,” defined, on any date, as the aggregate amount of unrestricted cash on deposit in the cash collateral account, and $ 25.0 million, and (c) the lesser of 70 % of the cost of eligible inventory and 85 % of the net orderly liquidation value of the eligible inventory. Atlas LLC was required to keep cash on deposit in the cash collateral account only to the extent any outstanding borrowings under the 2018 ABL Credit Facility exceeded the portion of the borrowing base represented by accounts receivable and inventory. The borrowing base components were subject to customary reserves and eligibility criteria. Additionally, the Fourth Amendment to the 2018 ABL Credit Facility contained provisions addressing the potential transition from LIBOR to a SOFR, in the event the administrator had ceased or would cease publication of LIBOR. Fifth Amendment to the 2018 ABL Credit Facility On October 20, 2021, Atlas LLC and the lender under the 2018 ABL Credit Facility agreed to further amend certain terms of the 2018 ABL Credit Facility, to, among other things, allow Atlas LLC to enter into the 2021 Term Loan Credit Facility to repay all borrowings outstanding under the 2018 Term Loan Credit Facility and to conform certain covenants under the 2018 ABL Credit Facility to the 2021 Term Loan Credit Facility. Termination of the 2018 Asset-Based Loan Credit Facility On February 22, 2023, Atlas LLC terminated the 2018 ABL Credit Facility. Atlas LLC had no borrowings under the 2018 ABL Credit Facility at the time of its termination. In connection with the termination, we charged the remaining balance of the deferred financing cost of $ 0.2 million to interest expense, net on the consolidated statements of operations for the year ended December 31, 2023. We incurred de minimis fees associated with the termination. 2018 Term Loan Credit Facility On January 30, 2018, the Atlas LLC entered into a credit facility with BlackGold SPV I LP (the “2018 Term Loan Credit Facility”) that provided debt financing in an aggregate principal amount of $ 150.0 million, which was funded in a series of tranches during 2018. In connection with the 2018 Term Loan Credit Facility, Atlas LLC delivered to the lender warrants for up to 41,299,845 Class D units representing membership interests in Atlas LLC (“Class D units”). During the year ended December 31, 2018, the lender exercised all 41,299,845 Class D warrants. Obligations under the 2018 Term Loan Credit Facility were secured by a second-priority lien on substantially all assets of Atlas LLC, until September 9, 2019, when the lenders and Atlas LLC entered into the split collateral intercreditor agreement, at which time the 2018 Term Loan Credit Facility became secured by a second-priority lien on inventory and accounts receivable held by Atlas LLC and its subsidiaries, and a first-priority lien on the remaining assets of Atlas LLC. In addition, Atlas LLC’s subsidiaries had guaranteed Atlas LLC’s obligations under the 2018 Term Loan Credit Facility and had granted to the lender security interests in substantially all respective assets. Borrowings under the 2018 Term Loan Credit Facility bore interest equal to the lesser of (1) the applicable interest rate, which was set at either 10 % or 13 % per annum, based upon the Atlas LLC’s consolidated leverage ratio or (2) the highest lawful rate, as defined in the credit agreement governing the 2018 Term Loan Credit Facility. Atlas LLC, at its option, could pay up to 50 % of any interest payment in-kind. The interest rate for the 2018 Term Loan Credit Facility was 13 % during the year ended December 31, 2021. We recognized interest expense associated with the 2018 Term Loan Credit Facility of $ 18.9 million for the year ended December 31, 2021. The 2018 Term Loan Credit Facility had a maturity date of January 30, 2023 , and, for certain loans, would amortize in quarterly installments equal to 1.00 % of the aggregate outstanding principal balance as of each quarterly payment date beginning with the initial payment, which was made for the year ended December 31, 2018. Beginning on March 31, 2021, the quarterly principal payments increased to 5.00 % of the aggregate outstanding principal balance, with the balance payable on the final maturity date, subject to the amend and extend provisions applicable under the agreement. Atlas LLC had the option to voluntarily prepay the outstanding 2018 Term Loan Credit Facility along with all interest then accrued and unpaid, in whole or in part, and the applicable premium payment based upon either (a) the present value using a discount rate based upon a U.S. Treasury rate plus 50 basis points of the amount of interest that would have been payable on the principal balance prepaid if prior to January 30, 2020, (b) 7% of the principal balance prepaid thereafter and prior to January 30, 2021, (c) 3% of the principal balance prepaid, anytime thereafter, or (d) 1% of the principal balance if prepaid upon the occurrence of an initial public offering. The 2018 Term Loan Credit Facility contained customary representations and warranties and customary affirmative and negative covenants, including limits or restrictions on Atlas LLC’s ability to incur liens, incur indebtedness, make certain restricted payments, merge or consolidate and dispose of assets. In addition, it contained customary events of default that entitled the lenders to cause any or all of Atlas LLC’s indebtedness under the 2018 Term Loan Credit Facility to become immediately due and payable. The events of default (some of which were subject to applicable grace or cure periods) included, among other things, nonpayment defaults, covenant defaults, cross-defaults to other material indebtedness, bankruptcy and insolvency defaults and material judgment defaults. First Amendment to the 2018 Term Loan Credit Facility On April 3, 2019, Atlas LLC and the lender under the 2018 Term Loan Credit Facility entered into the First Amendment to the 2018 Term Loan Credit Facility, which provided for borrowings of an additional $ 25.0 million, primarily to fund capital improvement projects. In addition, language related to the payment terms of the 2018 Term Loan Credit Facility was amended so that all aggregate outstanding principal related to the 2018 Term Loan Credit Facility, other than the paid-in-kind loans, would be paid according to the terms noted above. In connection with the First Amendment to the 2018 Term Loan Credit Facility, additional warrants were delivered for up to 4,192,460 Class D units, which were exercisable upon funding of the draws in proportion to the additional $ 25.0 million in borrowings. During the year ended December 31, 2020, the Company delivered and the lender immediately exercised the remaining 2,515,470 Class D warrants associated with the First Amendment. There were no warrants outstanding as of On June 20, 2019, Atlas LLC borrowed $ 5.0 million of the additional $ 25.0 million available under the 2018 Term Loan Credit Facility. On June 28, 2019, Atlas LLC borrowed another $ 5.0 million of the additional $ 25.0 million available under the 2018 Term Loan Credit Facility. On April 24, 2020 and July 7, 2020, Atlas LLC borrowed $ 12.2 and $ 2.3 million of the additional $ 25.0 million available under the 2018 Term Loan Credit Facility, respectively. Limited Waiver and Second Amendment to the 2018 Term Loan Credit Facility On June 4, 2019, Atlas LLC and the lender under the 2018 Term Loan Credit Facility entered into the Second Amendment to the 2018 Term Loan Credit Facility (the “Limited Waiver and Second Amendment”). The Limited Waiver and Second Amendment extended the due date for taking certain actions with regard to two wholly-owned subsidiaries of Atlas LLC, OLC Kermit, LLC and OLC Monahans, LLC, and allowed the making of limited investments into those subsidiaries. In addition, pursuant to the Limited Waiver and Second Amendment, the lender agreed to waive any defaults or events of default that may have resulted from Atlas LLC’s acquisition of the two subsidiar |