Incremental Term Loans have terms and conditions identical to the Initial Term Loans including the same maturity date and interest rate. The Initial Term Loans and Incremental Term Loans, collectively (the “Term Loans”) will comprise a single class of term loans under the Credit Agreement.
On March 18, 2021, the Company repaid $397.0 million of the outstanding Term Loans with the net proceeds received from the issuance of $400.0 million aggregate principal amount of 5.00% senior secured notes due 2028 (the “5.00% Senior Notes”), as described below. The repayment of the Term Loans was applied to the remaining principal payments in direct order of maturity, thereby eliminating the required quarterly principal payments through the remaining term of the loan. In connection with the repayment of the Term Loans, we recognized a loss on extinguishment of debt of $12.0 million during the nine months ended September 30, 2021.
On April 5, 2021, the Company, entered into a second amendment to the Credit Agreement (the “Second Amendment”) to refinance the outstanding Term Loans of $999.9 million. The terms and conditions of the Credit Agreement remain substantially similar and unchanged except with respect to the interest rate applicable to the Term Loans and certain other provisions. As a result of the Second Amendment, the interest rate of the Term Loans was reduced to 3.50% plus LIBOR subject to a 0.75% LIBOR floor. The maturity date of the Term Loans of October 2, 2027 remains unchanged. In connection with entering into the Second Amendment, we recognized a loss of $5.1 million on the extinguishment of debt during the nine months ended September 30, 2021.
The revolving credit facility has a maturity date of October 2, 2025 and an applicable margin (at our election) of 4.00% for LIBOR-based borrowings or 3.00% for alternate base rate borrowings, with a 0.25% reduction in each case if the consolidated first lien leverage ratio, as defined in the Credit Agreement, does not exceed 3.20 to 1.00. At September 30, 2021 and December 31, 2020, there were 0 borrowings outstanding under the revolving credit facility. Stand-by letters of credit of $17.8 million were outstanding under our revolving credit facility as of September 30, 2021. The stand-by letters of credit are renewable annually and reduce the borrowing availability under the revolving credit facility. As of September 30, 2021, $232.2 million was available for borrowing under the revolving credit facility.
The weighted-average interest rate on outstanding borrowings under our credit facility was 4.25% and 5.75% as of September 30, 2021 and December 31, 2020, respectively. Interest is payable at least quarterly.
Credit Agreement Covenant Compliance
The Credit Agreement contains various provisions and covenants, including, among other items, restrictions on the ability to pay dividends, incur additional indebtedness, and issue certain capital stock. We have agreed to maintain certain financial ratios, including a maximum consolidated first lien leverage ratio, as defined in the Credit Agreement. Among other things, it will be an event of default, with respect to the revolving credit facility only, if our consolidated first lien leverage ratio as of the end of any fiscal quarter is greater than 5.85:1.00. As of September 30, 2021, our consolidated first lien leverage ratio under the Credit Agreement was 4.09:1.00. As of September 30, 2021, we were in compliance with the Credit Agreement covenants.
Senior Notes
On October 2, 2020, we completed an offering of $750.0 million aggregate principal amount of 6.50% unsubordinated secured notes due 2028 (the “6.50% Senior Notes”). The 6.50% Senior Notes were priced at par and bear interest at a rate of 6.50%, payable semi-annually on April 1 and October 1 of each year, beginning on April 1, 2021. The 6.50% Senior Notes will mature on October 1, 2028. The net proceeds from the issuance of the 6.50% Senior Notes were used to redeem our then outstanding $440.5 million aggregate principal amount of 6.50% Senior Notes due in October 2022 at a price equal to 100% of the aggregate principal amount plus accrued and unpaid interest through the redemption date, to repay a portion of the outstanding borrowings under the previous credit agreement as part of the refinancing in October 2020 and to pay related fees and expenses.
On March 18, 2021, we issued $400.0 million aggregate principal amount 5.00% Senior Notes, together with the 6.50% Senior Notes (the “Senior Notes”). The 5.00% Senior Notes were priced at par and bear interest at a rate of 5.00% per year, payable semi-annually on April 1 and October 1 of each year, beginning on October 1, 2021. The 5.00% Senior