We are permitted to make voluntary prepayments, subject to the premiums as discussed above. These prepayments, if any, will be applied against remaining quarterly installments owed under the 2024 Term Loan B in order of maturity with the remaining principal due upon maturity, unless directed otherwise by us. Pursuant to the terms of the 2018 Credit Facility excess cash flow clause and based on the 2023 excess cash flow calculation and consolidated leverage ratio as of December 31, 2023, as described and defined under the terms of the 2018 Credit Facility, we made a $66.3 million mandatory prepayment towards the 2018 Term Loan B during the first quarter of 2024.
During the six months ended June 30, 2025, we borrowed an aggregate amount of $270.8 million under the 2024 Credit Facility, all of which was under the 2024 Revolving Credit Facility, and repaid a total amount of $280.8 million on amounts outstanding under the 2024 Credit Facility, which included $270.8 million of repayments on amounts outstanding under the 2024 Revolving Credit Facility. During the six months ended June 30, 2024, we borrowed an aggregate amount of $988.5 million, including $788.5 million under the 2024 Credit Facility, which included $388.5 million of borrowings under the 2024 Revolving Credit Facility, and $200.0 million under the 2018 Credit Facility, all of which was under the 2018 Revolving Credit Facility, and repaid a total amount of $1,395.2 million, including $308.5 million on amounts outstanding under the 2024 Credit Facility, all of which was under the 2024 Revolving Credit Facility, and $1,086.7 million on amounts outstanding under the 2018 Credit Facility, which included $200.0 million of repayments on amounts outstanding under the 2018 Revolving Credit Facility and a $66.3 million mandatory prepayment on amounts outstanding under the 2018 Term Loan B. As of June 30, 2025 and December 31, 2024, the U.S. dollar amount outstanding under the 2024 Credit Facility was $380.0 million and $390.0 million, respectively. Of the $380.0 million outstanding under the 2024 Credit Facility as of June 30, 2025, $380.0 million was outstanding under the 2024 Term Loan B. Of the $390.0 million outstanding under the 2024 Credit Facility as of December 31, 2024, $390.0 million was outstanding under the 2024 Term Loan B. There were no borrowings outstanding under the 2024 Revolving Credit Facility as of June 30, 2025 and December 31, 2024. In addition, as of both June 30, 2025 and December 31, 2024, we had an issued but undrawn letter of credit against the 2024 Revolving Credit Facility of approximately $45 million which reduced our remaining available borrowing capacity under the 2024 Revolving Credit Facility. As a result of the issued but undrawn letter of credit, as of both June 30, 2025 and December 31, 2024, the remaining available borrowing capacity under the 2024 Revolving Credit Facility, was approximately $355 million. There were no outstanding foreign currency borrowings under the 2024 Credit Facility as of June 30, 2025 and December 31, 2024. As of June 30, 2025 and December 31, 2024, the weighted-average interest rate for borrowings under the 2024 Credit Facility was 11.49% and 10.35%, respectively.
See Note 4, Long-Term Debt, to the Condensed Consolidated Financial Statements included in Part I, Item 1, Financial Statements, of this Quarterly Report on Form 10-Q for a further discussion on the 2024 Credit Facility, 2018 Credit Facility, and the refinancing thereof.
Senior Secured Notes due 2029
In April 2024, we issued $800.0 million aggregate principal amount of senior secured notes due 2029, or the 2029 Secured Notes. The 2029 Secured Notes are guaranteed on a senior secured basis by us and each of our existing and future subsidiaries that is a guarantor of the obligations of any domestic borrower under our 2024 Credit Facility. The 2029 Secured Notes pay interest at a rate of 12.250% per annum payable semiannually in arrears on April 15 and October 15 of each year, beginning on October 15, 2024. The 2029 Secured Notes mature on April 15, 2029. The primary purpose of the issuance of the 2029 Secured Notes was to, along with proceeds from the 2024 Credit Facility, repay in full the 2018 Credit Facility and a partial redemption and private repurchase of the 2025 Notes. As of June 30, 2025, the outstanding principal on the 2029 Secured Notes was $800.0 million. See Note 4, Long-Term Debt, to the Condensed Consolidated Financial Statements included in Part I, Item 1, Financial Statements, of this Quarterly Report on Form 10-Q for a further discussion on our 2029 Secured Notes.
Convertible Senior Notes due 2024
In March 2018, we issued $550.0 million aggregate principal amount of convertible senior notes due 2024, or the 2024 Convertible Notes. The 2024 Convertible Notes were senior unsecured obligations which ranked effectively subordinate to any of our existing and future secured indebtedness, including amounts outstanding under the 2018 Credit Facility, to the extent of the value of the assets securing such indebtedness. The 2024 Convertible Notes paid interest at a rate of 2.625% per annum payable semiannually in arrears on March 15 and September 15 of each year, beginning on September 15, 2018. The 2024 Convertible Notes matured on March 15, 2024.
We repurchased $287.5 million and $65.5 million of our 2024 Convertible Notes in December 2022 and August 2023, respectively. For accounting purposes, pursuant to ASC 470, Debt, these transactions were accounted for as an extinguishment of 2024 Convertible Notes. During March 2024, we repaid a total amount of $197.0 million to repay in full amounts outstanding on the 2024 Convertible Notes upon maturity, as well as $2.6 million of accrued interest.
See Note 4, Long-Term Debt, to the Condensed Consolidated Financial Statements included in Part I, Item 1, Financial Statements, of this Quarterly Report on Form 10-Q for a further discussion on our 2024 Convertible Notes.