in direct order of maturity, thereby eliminating the required quarterly principal payments through the remaining term of the loan.
On April 5, 2021, the Company, entered into Amendment No. 2 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 remained unchanged.
On November 22, 2022, the Company entered into Amendment No. 3 to the Credit Agreement (the “Third Amendment”) to, among other things, extend the maturity of the revolving credit facility by two years from October 2, 2025 to October 2, 2027, subject to springing maturity on April 2, 2027 if the Term Loans, as of April 1, 2027, are scheduled to mature earlier than March 31, 2028. The Third Amendment also relaxed the revolving credit facility’s consolidated first lien leverage maintenance covenant, as described below, through June 30, 2025 to 6.35:1.00 from 5.85:1.00.
On April 17, 2023, the Company entered into Amendment No. 4 to the Credit Agreement (the “Fourth Amendment”) to replace remaining LIBOR-based benchmark rates with Secured Overnight Financing Rate (“SOFR”)-based benchmark rates. As part of the replacement to SOFR-benchmark rates, borrowings will include an adjustment of 0.11%, 0.26% and 0.43% for borrowings of one, three and six month loans, respectively. With the amendment, the interest rate of the Term Loans is 3.50% plus SOFR plus the SOFR adjustment (subject to a 0.75% SOFR floor).
The revolving credit facility has a maturity date of October 2, 2027 and an applicable margin (at our election) of 4.00% for SOFR-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, 2023 and December 31, 2022, there were no borrowings outstanding under the revolving credit facility. Stand-by letters of credit of $35.4 million were outstanding under our revolving credit facility as of September 30, 2023. The stand-by letters of credit are renewable annually and reduce the borrowing availability under the revolving credit facility. As of September 30, 2023, $214.6 million was available for borrowing under the revolving credit facility, subject to certain covenants.
The weighted-average interest rate on outstanding borrowings under our credit facility was 8.95% and 7.63% as of September 30, 2023 and December 31, 2022, 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 is greater than 6.35:1.00 as of the end of any fiscal quarter, if on such date the testing threshold is met. The testing threshold is met if the aggregate amount of our borrowings outstanding under the revolving credit facility exceeds 35%. ��As of September 30, 2023, the testing threshold was not met and our consolidated first lien leverage ratio under the Credit Agreement was 5.73:1.00. As of September 30, 2023, we were in compliance with the Credit Agreement covenants.
On October 15, 2023, the Company entered into Amendment No. 5 to the Credit Agreement (the “Fifth Amendment”) to, among other things, increase the maximum consolidated first lien leverage ratio (the “Step-Up”) permitted under the Credit Agreement to (i) 7.75 to 1.00, from October 15, 2023 to and including December 31, 2024, (ii) 7.50 to 1.00, from and including January 1, 2025 to and including March 31, 2025, (iii) 7.25 to 1.00, from and including April 1, 2025 to and including June 30, 2025, (iv) 7.00 to 1.00, from and including July 1, 2025 to and including September 30, 2025, (v) 6.75 to 1.00 from and including October 1, 2025 to and including December 31, 2025, (vi) 6.50 to 1.00, from and including January 1, 2026 to and including March 31, 2026, (vii) 6.25 to 1.00, from and including April 1, 2026 to and including June 30, 2026, (viii) 6.00 to 1.00, from and including July 1, 2026 to and including September 30, 2026, and (ix) 5.85 to 1.00 from and including October 1, 2026 and thereafter (the “Step-Up Period”). While the Step-Up is in effect, the Company will be subject to additional restrictions on its ability to make certain investments and restricted payments (the