sheet to the amount with respect to which we believe it is still more likely than not that we will be able to use to offset or reduce taxes in the future. The establishment of such a valuation allowance, or any increase in an existing valuation allowance, would be effectuated through a charge to the provision for income taxes or a reduction in any income tax credit for the period in which such valuation allowance is established or increased.
For complete discussion and disclosure of other accounting policies, see Note 1: Summary of Significant Accounting Policies of the Company’s consolidated financial statements in both this quarterly filing as well as our Annual Report on Form 10-K for the fiscal year ended December 31, 2023.
We have two business segments, “Banking” and “Investment Management and Wealth Planning” (“Wealth Management”). Banking includes the operations of FFB, FFIS, FFPF, and Blue Moon Management LLC and Wealth Management includes the operations of FFA. The financial position and operating results of the stand-alone holding company, FFI, are included under the caption “Other” in certain of the tables that follow, along with any consolidation elimination entries.
Overview and Recent Developments
For the quarter ended June 30, 2024, the Company reported net income of $3.1 million, compared to $793 thousand for the prior quarter and a net loss of $212.3 million for the quarter ended June 30, 2023, which included a goodwill impairment charge of $215.3 million. In comparison to the prior quarter, current quarter results were impacted primarily by an increase in net interest income after provision for credit losses, largely the result of decreased interest expense on deposits and borrowings and the reversal of provision for credit losses, and an increase in noninterest income offset by an increase in noninterest expense. Net interest income after provision for credit losses totaled $44.6 million for the quarter ended June 30, 2024, compared to $37.8 million for the prior quarter and $48.1 million for the quarter ended June 30, 2023. Net interest margin (“NIM”) increased to 1.36% for the quarter ended June 30, 2024, compared to 1.17% for the prior quarter. For the quarter ended June 30, 2024 the Company recorded a reversal of provision for credit losses of $806 thousand, compared to provision expense of $577 thousand in the prior quarter. The reversal of provision for credit losses was driven by reductions in the ACL related to securities as well as the reserve on unused commitments, while the ACL related to loans remained constant at 29 basis points of total loans. Noninterest income totaled $13.7 million for the quarter ended June 30, 2024, compared to $12.7 million for the prior quarter. Noninterest expense totaled $55.6 million for the quarter ended June 30, 2024, compared to $50.6 million for the prior quarter.
At June 30, 2024, the Company had total assets of $13.7 billion, including $10.1 billion of total loans, net of deferred fees and allowance for credit losses, $1.4 billion of cash and cash equivalents, $0.8 billion in investment securities held-to-maturity, and $1.1 billion in investment securities available-for-sale. This compares to total assets of $13.3 billion, including $10.1 billion of total loans, net of deferred fees and allowance for credit losses, $1.3 billion of cash and cash equivalents, $0.8 billion in investment securities held-to-maturity, and $0.7 billion in investment securities available-for-sale at December 31, 2023. Cash and cash equivalents represented approximately 10.4% of total assets at June 30, 2024, compared to 10% of total assets at December 31, 2023. For the six-month period ended June 30, 2024, securities available-for-sale increased $0.4 billion, with $1.6 billion in new security purchases offset by $1.2 billion in sales and maturities.
At June 30, 2024, the Company had total liabilities of $12.8 billion, including $10.8 billion in deposits, $1.7 billion in borrowings, and $173 million in subordinated debt. This compares to total liabilities of $12.4 billion, including $10.7 billion in deposits, $1.4 billion in borrowings, and $173 million in subordinated debt at December 31, 2023. The $0.4 billion increase in total liabilities is due primarily to a $0.3 billion increase in borrowings. The increase in borrowings was primarily due to the addition of $500 million in FHLB advances offset by a $160 million paydown of Federal Reserve Bank advances. Borrowings as a percentage of total assets equaled 12.5% at June 30, 2024, compared to 10.6% of total assets at December 31, 2023. Deposits increased slightly by $0.1 billion with increases largely in money-market and savings accounts offset by a decrease in certificate of deposit accounts. Our loan to deposit ratio was 93.8% as of June 30, 2024 compared to 95.2% as of December 31, 2023.
At June 30, 2024, the Company had total shareholders’ equity of $933.2 million, compared to $925.3 million at December 31, 2023. During the six-month period ended June 30, 2024, shareholder’s equity activity included $3.9 million in net income, a net gain in accumulated other comprehensive income of $4.2 million, and $1.0 million in stock-based