loans increased by $3.9 million, or 4.0%, to $101.2 million at June 30, 2024 from $97.3 million at June 30, 2023, and home equity loans and lines of credit increased by $7.3 million, or 8.5%, to $92.8 million at June 30, 2024 from $85.5 million at June 30, 2023. These increases were partially offset by a decrease in commercial real estate loans of $5.0 million, or 1.2%, to $406.2 million at June 30, 2024 from $411.2 million at June 30, 2023, and a decrease in consumer loans of $3.3 million, or 19.3%, to $13.5 million at June 30, 2024 from $16.8 million at June 30, 2023.
The increase in residential mortgage loans was related to the Bank’s asset allocation shift, using investment securities cash flow and cash to fund higher yielding assets. The Bank’s relationship with the Mortgage Banking Company facilitated a significant increase in residential mortgage loan volume, despite the higher interest rate environment. The increase in commercial construction loans was due to funding of increased construction commitments. The increase in home equity loans and lines of credit was due to increased utilization rates of home equity lines of credit. The decrease in commercial real estate loans was related to loan payoffs outpacing loan originations.
Deposits. Total deposits of $1.55 billion at June 30, 2024 increased $8.4 million, or 0.5%, from $1.54 billion at June 30, 2023. By deposit category, demand accounts increased by $19.2 million, or 13.8%, to $158.0 million at June 30, 2024 from $138.8 million at June 30, 2023, money market accounts increased by $50.7 million, or 11.0%, to $513.6 million at June 30, 2024 from $462.9 million at June 30, 2023, and certificate of deposits increased by $50.0 million, or 42.8%, to $167.0 million at June 30, 2024 from $117.0 million at June 30, 2023, offset in part by a decrease in non-interest-bearing demand accounts of $80.8 million, or 15.4%, to $445.3 million at June 30, 2024 from $526.1 million at June 30, 2023, and a decrease in savings accounts of $30.7 million, or 10.3%, to $266.3 million at June 30, 2024 from $297.0 at June 30, 2023. The increase in certificates of deposit was primarily related to a migration of funds from non-interest-bearing demand, savings, and other lower rate interest-bearing accounts. The increase in demand accounts and money market accounts was primarily related to growth in municipal and commercial deposits and a migration of funds from non-interest bearing demand, savings and other lower rate interest-bearing accounts. The decrease in non-interest-bearing demand and savings accounts was primarily related to migration of funds to higher interest-bearing accounts.
Total Shareholders’ Equity. Total shareholders’ equity of $296.5 million at June 30, 2024 increased $29.8 million, or 11.2%, from $266.7 million at June 30, 2023 primarily as a result of net income of $15.3 million, a decrease in accumulated other comprehensive loss of $14.5 million, and the net increase of $507,000 related to the day-one CECL adjustment, partially offset by the repurchase of common stock of $1.1 million.
Comparison of Operating Results for the Years Ended June 30, 2024 and June 30, 2023
General. Net income decreased by $6.6 million, or 30.5%, to $15.3 million for the year ended June 30, 2024 from $21.9 million for the year ended June 30, 2023. The decrease was primarily due to a $8.9 million increase in non-interest expense and a $2.7 million increase in the provision for credit losses, partially offset by a $2.2 million increase in non-interest income, a $1.0 million increase in net interest income and a $1.8 million decrease in income tax expense.
Interest and Dividend Income. Interest and dividend income increased $17.3 million, or 24.3%, to $88.3 million for the year ended June 30, 2024, from $71.0 million for the year ended June 30, 2023 due to increases in interest income on loans and interest-earning deposits and other. The increase was the result of a 99 basis points increase in the average yield on interest-earning assets to 5.02% for the year ended June 30, 2024, from 4.03% for the year ended June 30, 2023, partially offset by a decrease in the average balance of interest-earning assets of $1.9 million. The increase in the average yield on interest-earning assets was driven by an increase in variable rate loan yields and yields on interest-earning deposits with banks due to the current higher interest rate environment, as well as due to market related increases in interest rates on new loans and an asset allocation shift, using investment securities’ cash flow to fund higher yielding assets. Average interest-earning assets of $1.76 billion for the year ended June 30, 2024 decreased by $1.9 milllion from the year ended June 30, 2023.
Interest income on loans increased $17.2 million, or 31.0%, to $72.4 million for the year ended June 30, 2024 from $55.2 million for the year ended June 30, 2023. Interest income on loans increased due to a 51 basis points increase in the average yield on loans to 5.72% for the year ended June 30, 2024 from 5.21% for the year ended June 30, 2023, coupled with a $206.2 million increase in the average balance of loans to $1.27 billion for the year ended June 30, 2024 from $1.06 billion for the year ended June 30, 2023. The increase in average yield on loans was primarily due to loans tied