At September 30, 2024, the subsidiary banks had 26 lines of credit totaling $867.4 million with upstream correspondent banks, of which $416.6 million was secured and $450.8 million was unsecured. At September 30, 2024, the Company had the full $867.4 million available.
At December 31, 2023, the subsidiary banks had 25 lines of credit totaling $699.3 million with upstream correspondent banks, of which $248.5 million was secured and $470.8 million was unsecured. At December 31, 2023, $699.3 million was available.
The Company has emphasized growing the number and amount of lines of credit in an effort to strengthen this contingent source of liquidity. Additionally, the Company maintains a $50.0 million secured revolving credit note with a variable interest rate and a maturity of June 30, 2025. At September 30, 2024, the full $50.0 million was available.
As of September 30, 2024, the Company had $823.9 million in actual correspondent banking deposits spread over 188 relationships. While the Company believes that these funds are relatively stable, there is the potential for large fluctuations that can impact liquidity. Seasonality and the liquidity needs of these correspondent banks can impact balances. Management closely monitors these fluctuations and runs stress scenarios to measure the impact on liquidity and interest rate risk with various levels of correspondent deposit run-off.
Investing activities used cash of $670.0 million during the first nine months of 2024, compared to $426.5 million for the same period of 2023. The net decrease in federal funds sold was $22.3 million for the first nine months of 2024, compared to a net decrease of $36.6 million for the same period of 2023. The net increase in interest-bearing deposits at financial institutions was $41.0 million for the first nine months of 2024, compared to a net decrease of $7.0 million for the same period of 2023. Proceeds from calls, maturities, and paydowns of securities were $48.8 million for the first nine months of 2024, compared to $87.7 million for the same period of 2023. Purchases of securities used cash of $148.1 million for the first nine months of 2024, compared to $102.7 million for the same period of 2023. Proceeds from sales of securities were $445 thousand for the first nine months of 2024, compared to $30.6 million for the same period of 2023. The net increase in loans/leases used cash of $525.3 million for the first nine months of 2024 compared to a net increase in loans of $479.8 million for the same period of 2023.
Financing activities provided cash of $409.5 million for the first nine months of 2024, compared to $385.7 million for same period of 2023. Net increases in deposits totaled $470.6 million for the first nine months of 2024, compared to net increases in deposits of $510.6 million for the same period of 2023. During the first nine months of 2024, the Company's short-term borrowings increased $1.3 million, compared to a decrease in short-term borrowings of $129.2 million for the same period of 2023. Long-term FHLB advances during the first nine months of 2024 totaled $10.4 million compared to $135.0 million for the same period of 2023. There were no maturities and principal payments on FHLB term advances in the first nine months of 2024 and 2023. Net decrease in overnight advances totaled $70.0 million for the first nine months of 2024 as compared to net decrease of $120.0 million for the same period of 2023. There were no repurchase and cancellation of shares in the first nine months of 2024, as compared to $8.7 million for the same period of 2023.
Total cash provided by operating activities was $267.2 million for the first nine months of 2024, compared to $85.3 million for the same period of 2023.
Throughout its history, the Company has secured additional capital through various sources, including the issuance of common and preferred stock, as well as trust preferred securities and subordinated notes.
The Company had one LIHTC securitization that closed in 2024 and two LIHTC securitizations that closed in 2023. LIHTC securitizations may continue to be an ongoing tool in managing liquidity and capital.
As of September 30 2024 and December 31, 2023, the subsidiary banks remained “well-capitalized” in accordance with regulatory capital requirements administered by the federal banking authorities. Refer to Note 10 of the Consolidated Financial Statements for additional information regarding regulatory capital.