At September 30, 2023, our investment in bank-owned life insurance was $14.9 million, an increase of $101,000 from $14.8 million at June 30, 2023. We invest in bank-owned life insurance to provide us with a funding source for our benefit plan obligations. Bank-owned life insurance also generally provides us noninterest income that is non-taxable. Federal regulations generally limit our investment in bank-owned life insurance to 25% of our Tier 1 capital plus our allowance for credit losses, which totaled $23.1 million at September 30, 2023.
Deposits decreased $48.2 million, or 6.6%, to $687.1 million at September 30, 2023 from $735.3 million at June 30, 2023. Noninterest bearing demand accounts decreased $64.8 million, or 60.3%, to $42.7 million, while certificates of deposit, excluding brokered certificates of deposit, increased $6.2 million, or 2.4%, to $270.3 million, savings, NOW, and money market accounts increased $3.4 million, or 1.0%, to $347.6 million, and brokered certificates of deposit increased $7.0 million, or 36.0%, to $26.6 million. The large decrease in noninterest bearing demand accounts was due to approximately $62.1 million in deposits from a public entity that collects real estate taxes that were on deposit at June 30, 2023 and withdrawn in the three months ended September 30, 2023, when tax monies were distributed. Repurchase agreements increased $5.3 million, or 48.7%, to $16.0 million at September 30, 2023 from $10.8 million at June 30, 2023. Borrowings consisted of advances from the Federal Home Loan Bank of Chicago, which increased $71.0 million to $90.5 million at September 30, 2023 from $19.5 million at June 30, 2023.
Accrued interest payable increased $1.1 million, or 64.3%, to $2.7 million at September 30, 2023 from $1.7 million at June 30, 2023, while advances from borrowers for taxes and insurance decreased $454,000, or 36.8%, to $779,000 at September 30, 2023 from $1.2 million at June 30, 2023, allowance for credit losses on off-balance sheet credit exposures decreased $87,000 to $129,000 at September 30, 2023 from $216,000 at June 30, 2023, and other liabilities decreased $1.7 million, or 28.6%, to $4.3 million at September 30, 2023 from $6.1 million at June 30, 2023. The increase in accrued interest payable was mostly due to an increase in average balances of deposits and an increase in the average rates on deposits. The decrease in advances from borrowers for taxes and insurance was attributable to the timing of the payment of real estate taxes and insurance, the decrease in the allowance for credit losses on off-balance sheet credit exposures was due to decreases in loans with unfunded balances without the Bank’s ability to cancel on demand, and the decrease in other liabilities was a result of accrued compensation and benefits that were paid out in the three months ended September 30, 2023.
Total equity decreased $5.2 million, or 7.2%, to $66.6 million at September 30, 2023 from $71.8 million at June 30, 2023. Equity decreased primarily due to a decrease of $5.1 million in accumulated other comprehensive income (loss), net of tax, and the accrual of approximately $672,000 in dividends to our shareholders. The decrease in accumulated other comprehensive income (loss) was mostly due to unrealized depreciation on available-for-sale securities, net of tax. These decreases were partially offset by net income of $466,000, and ESOP and stock equity plan activity of $163,000.
Comparison of Operating Results for the Three Months Ended September 30, 2023 and 2022
General. Net income decreased $1.5 million to $466,000 net income for the three months ended September 30, 2023 from $2.0 million net income for the three months ended September 30, 2022. The decrease was primarily due to a decrease in net interest income, an increase in provision for credit losses and a decrease in noninterest income, while noninterest expenses remained the same.
Net Interest Income. Net interest income decreased by $1.7 million, or 26.7%, to $4.6 million for the three months ended September 30, 2023 from $6.3 million for the three months ended September 30, 2022. The decrease was due to an increase of $3.9 million in interest expense, partially offset by an increase of $2.2 million in interest income. Our net interest margin decreased by 100 basis points to 2.26% for the three months ended September 30, 2023 compared to 3.26% for the three months ended September 30, 2022, while our interest rate spread decreased by 121 basis points to 1.98% for the three months ended September 30, 2023 compared to 3.19% for the three months ended September 30, 2022. A $60.0 million, or 9.0%, increase in the average balance of interest-bearing liabilities was partially offset by a $44.5 million, or 5.8%, increase in the average balance of interest-earning assets.
37