Deposits increased $26.1 million, or 4.3%, to $632.7 million at March 31, 2023, from $606.6 million at June 30, 2022. The increase in deposits was primarily due to a $38.1 million increase in money market accounts and a $20.8 million increase in time deposit accounts, partially offset by an $18.6 million decrease in non-interest bearing checking accounts and an $11.3 million decrease in savings accounts. The interest rate environment has created a highly competitive market for deposits.
Borrowings decreased $27.0 million, or 41.5%, to $38.0 million at March 31, 2023, from $65.0 million at June 30, 2022. During the quarter ended March 31, 2023, the Company used cash from the increase in deposits to pay off a portion of short-term borrowings.
Stockholders’ equity decreased $18.3 million, or 9.5%, to $174.0 million at March 31, 2023, from $192.3 million at June 30, 2022. The decrease in stockholders’ equity was primarily due to the repurchase of 1,356,865 shares at a total cost of $15.7 million, or $11.51 per share, during the nine months ended March 31, 2023 under the Company’s previously announced stock repurchase programs, as well as the payment of a $0.03 per share quarterly cash dividend in August 2022, November 2022 and February 2023 totaling $419 thousand, $405 thousand and $397 thousand, respectively, and a $5.3 million increase in the accumulated other comprehensive loss component of equity, related to the unrealized loss on available for sale securities. These decreases to stockholders’ equity were partially offset by $2.3 million of net income during the nine months ended March 31, 2023. Book value per share measured $12.87 as of March 31, 2023, compared to $12.91 as of June 30, 2022, and tangible book value per share(4) measured $12.47 as of March 31, 2023, compared to $12.54 as of June 30, 2022.
Net Interest Income
For the three months ended March 31, 2023, net interest income was $5.5 million, a decrease of $447 thousand, or 7.5%, from the three months ended March 31, 2022. The decrease in net interest income was primarily due to an increase in interest expense on deposits and borrowings, partially offset by an increase in interest income on loans and investments. The net interest margin measured 2.84% for the three months ended March 31, 2023, compared to 3.06% for the three months ended March 31, 2022. The decrease in the net interest margin during the three months ended March 31, 2023, compared to the same period in 2022 was primarily due to an increase in the average balance of deposits and borrowings and the rise in interest rates that caused an increase in the cost of borrowings and deposits that exceeded the increase in interest income on loans and investments.
For the nine months ended March 31, 2023, net interest income was $17.8 million, an increase of $1.0 million, or 6.2%, from the nine months ended March 31, 2022. The increase in net interest income was primarily due to an increase in interest income on loans and investments, partially offset by an increase in interest expense on deposits and borrowings. The net interest margin measured 3.04% for the nine months ended March 31, 2023, compared to 2.96% for the nine months ended March 31, 2022. The increase in the net interest margin during the nine months ended March 31, 2023, compared to the same period in 2022 was primarily due to an improvement in asset mix during the twelve months ended March 31, 2023, including a $38.4 million decrease in cash and cash equivalents and a $27.7 million increase in net loans.
Non-interest Income
For the three months ended March 31, 2023, non-interest income totaled $174 thousand, a decrease of $141 thousand, or 44.8%, from the three months ended March 31, 2022. The decrease was primarily due to a $199 thousand increase in the unrealized loss on equity securities, partially offset by a $97 thousand net gain on the sale of premises and equipment associated with the sale of one property with a total carrying value of $268 thousand recorded during the three months ended March 31, 2023.
For the nine months ended March 31, 2023, non-interest income totaled $1.4 million, a decrease of $326 thousand, or 19.4%, from the nine months ended March 31, 2022. The decrease was primarily due to a $558 thousand increase in the unrealized loss on equity securities and a $62 thousand gain on sale of securities recorded during the three months ended March 31, 2022. These decreases to non-interest income were partially offset by a $396 thousand net gain on the sale of premises and equipment associated with the sale of three properties securities with a total carrying value of $1.9 million recorded during the nine months ended March 31, 2023.
Non-interest Expense
For the three months ended March 31, 2023, non-interest expense totaled $5.6 million, an increase of $268 thousand, or 5.1%, from the three months ended March 31, 2022. The increase in non-interest expense was primarily due to a $285 thousand increase in salaries and employee benefits due to a $343 thousand increase in employee stock-based compensation expense associated with the Company’s 2022 Equity Incentive Plan, partially offset by a reduction in the number of full-time employees