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 year ended December 31, 2021.
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. As of December 31, 2022 and 2021, there were no borrowings outstanding under the revolving credit facility. Stand-by letters of credit of $24.5 million were outstanding under our revolving credit facility as of December 31, 2022. The stand-by letters of credit are renewable annually and reduce the borrowing availability under the revolving credit facility. As of December 31, 2022, $225.5 million was available for borrowing under the revolving credit facility.
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. In connection and simultaneously with the effectiveness of the Third Amendment, Searchlight III CVL, L.P., an affiliate of Searchlight and the sole holder of shares of the Company's Series A Preferred Stock, delivered a waiver to the Company waiving, until October 2, 2027, the restriction under the Certificate of Designations of Series A Perpetual Preferred Stock, dated December 7, 2021 precluding the Company from electing not to declare and pay any cash dividends with respect to the Series A Preferred Stock after October 2, 2025, provided that any dividend not declared and fully paid in cash, whether during the period of such waiver or otherwise, shall accrue as set forth in the Certificate of Designations.
The weighted-average interest rate on outstanding borrowings under our credit facilities was 7.63% and 4.25% at December 31, 2022 and 2021, 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 December 31, 2022, the testing threshold was not met and our consolidated first lien leverage ratio under the Credit Agreement was 4.40:1.00. As of December 31, 2022, 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 mature on October 1, 2028.
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 Notes will mature on October 1, 2028. The net proceeds from the issuance of the 5.00% Senior Notes were used to repay $397.0 million of the Term Loans outstanding under the Credit Agreement.