Net cash provided by (used in) operating activities, investing activities and financing activities were as follows (in thousands):
| | | | | | |
| | Three months ended |
| | March 31, |
| | 2024 | | 2023 |
Net cash provided by operating activities | | $ | 36,439 | | $ | 20,210 |
Net cash used in investing activities | | $ | (16,714) | | $ | (12,102) |
Net cash used in financing activities | | $ | (19,196) | | $ | (16,088) |
The approximately $16.2 million increase in net cash provided by operating activities is primarily attributable to increased terminaling revenue in the Southeast and West Coast, increased product sales gross margin and the timing of working capital requirements.
The approximately $4.6 million increase in net cash used in investing activities is primarily related to an approximately $4.0 million increase in construction spend.
Additional investments and expansion capital projects at our terminals have been approved and currently are, or will be, under construction with estimated completion dates through 2025. At March 31, 2024, the remaining expenditures to complete the approved projects are estimated to be approximately $10 million. These expenditures primarily relate to the construction costs associated with the expansion of our West Coast operations.
The approximately $3.1 million increase in net cash used in financing activities is related to an approximately $55 million decrease in net borrowings under our revolving credit facility primarily due to a $51.9 million decrease in distributions to TLP Finance Holdings, LLC for debt service in the first quarter of 2024.
Credit agreement. On November 17, 2021, the Company and TransMontaigne Operating Company L.P., our wholly owned subsidiary, entered into the Credit Agreement for a $1 billion senior secured term loan and a $150 million revolving credit facility, with a letter of credit subfacility of $35 million. The senior secured term loan will mature on November 17, 2028 and the revolving credit facility will terminate (a) on November 14, 2025 in the event our 6.125% senior notes due in 2026 are not refinanced on or prior to such date or (b) in the event the senior notes have been refinanced on or prior to November 14, 2025, the earlier of (i) the new maturity date of the refinanced senior notes and (ii) November 17, 2026. Our obligations under the Credit Agreement are guaranteed by the Company, TransMontaigne Operating Company L.P. and all of its subsidiaries, and secured by a first priority security interest in favor of the lenders in substantially all of the Company’s, TransMontaigne Operating Company L.P.’s and all of its subsidiaries’ assets, including our investments in unconsolidated affiliates.
On April 15, 2024, we entered into an amendment to the Credit Agreement, which provides for, among other things, the incurrence of a new tranche of senior secured term loans under the Credit Agreement in an aggregate principal amount of $150 million (See Note 16 of Notes to consolidated financial statements).
We may elect to have loans under the Credit Agreement bear interest, at either a Term SOFR plus 0.11448% (subject to a 0.50% floor) plus an applicable margin of 3.50% or an alternate base rate plus an applicable margin of 2.50% per annum. We are also required to pay (i) a letter of credit fee of 3.50% per annum on the aggregate face amount of all outstanding letters of credit, (ii) to the issuing lender of each letter of credit, a fronting fee of no less than 0.125% per annum on the outstanding amount of each such letter of credit and (iii) commitment fees of 0.50% per annum on the daily unused amount of the revolving credit facility, in each case quarterly in arrears.
The Credit Agreement contains various covenants, including, but not limited to, limitations on the incurrence of indebtedness, permitted investments, liens on assets, making distributions, transactions with affiliates, mergers, consolidations, dispositions of assets and other provisions customary in similar types of agreements. The Credit Agreement requires compliance with (a) a debt service coverage ratio of no less than 1.1 to 1.0 and (b) if the aggregate outstanding amount of all revolving loans and drawn letters of credit exceeds an amount equal to 35% of the aggregate revolving commitments, a consolidated senior secured net leverage ratio of no greater than 6.75 to 1.00. We were in