Loans held for investment, net increased $137.6 million, or 15% to $1.08 billion at June 30, 2023 from $940.0 million at June 30, 2022. In fiscal 2023, the Bank originated $237.1 million of loans held for investment, down 21% from $299.8 million during fiscal 2022, in both years consisting primarily of single-family, multi-family and commercial real estate loans. The Bank did not purchase any loans in fiscal 2023 as compared to the purchase of $6.4 million of loans to be held for investment (solely comprised of single-family loans) in fiscal 2022. Total loan principal payments in fiscal 2023 were $102.3 million, down 54% from $221.3 million in fiscal 2022, due primarily to the mortgage interest rate increases during fiscal 2023. There was no REO acquired in the settlement of loans in both fiscal 2023 and fiscal 2022. The balance of multi-family, commercial real estate, construction and commercial business loans, net of undisbursed loan funds, decreased $4.3 million, or 1%, to $555.2 million at June 30, 2023 from $559.5 million at June 30, 2022, and represented 52% and 60% of loans held for investment, respectively. The balance of single-family loans held for investment increased $140.6 million, or 37%, to $518.8 million at June 30, 2023, from $378.2 million at June 30, 2022. For additional information on loans held for investment, see Note 3 of the Notes to Consolidated Financial Statements included in Item 8 of this Form 10-K.
Total deposits decreased $4.9 million, or 1%, to $950.6 million at June 30, 2023 from $955.5 million at June 30, 2022. Transaction accounts decreased $104.8 million, or 13%, to $729.6 million at June 30, 2023 from $834.4 million at June 30, 2022, while time deposits increased $99.8 million, or 82%, to $220.9 million at June 30, 2023 from $121.1 million at June 30, 2022. The increase in time deposits was primarily attributable to the utilization of brokered certificates of deposit. Outstanding brokered certificates of deposit as of June 30, 2023 totaled $106.4 million. As of June 30, 2023 and 2022, the percentage of transaction accounts to total deposits was 77% and 87%, respectively. Noninterest-bearing deposits as a percentage of total deposits decreased to 11% at June 30, 2023 from 13% at June 30, 2022. Total retail deposits, defined as total deposits excluding brokered certificates of deposit, decreased by $111.3 million, or 12% to $844.2 million at June 30, 2023 from $955.5 million at June 30, 2022, due primarily to the decline of deposit balances related to a number of customers seeking higher interest rates elsewhere. For additional information on deposits, see Note 6 of the Notes to Consolidated Financial Statements included in Item 8 of this Form 10-K.
Borrowings, consisting of FHLB – San Francisco advances increased $150.0 million, or 176%, to $235.0 million at June 30, 2023 from $85.0 million at June 30, 2022. The increase was primarily due to new advances to fund the increase of loans held for investment. The weighted-average maturity of the Corporation’s FHLB – San Francisco advances was approximately 12 months at June 30, 2023, down from 16 months at June 30, 2022. For additional information on borrowings, see Note 7 of the Notes to Consolidated Financial Statements included in Item 8 of this Form 10-K.
Total stockholders’ equity increased $1.0 million or 1% to $129.7 million at June 30, 2023 from $128.7 million at June 30, 2022, primarily as a result of net income and the amortization of stock-based compensation in fiscal 2023, partly offset by stock repurchases (see Part II, Item 5, “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities” of this Form 10-K) and quarterly cash dividends paid to shareholders.
Comparison of Operating Results for the Fiscal Years Ended June 30, 2023 and 2022
General. The Corporation recorded net income of $8.6 million, or $1.19 per diluted share, for the fiscal year ended June 30, 2023, down $501,000, or 6%, from $9.1 million, or $1.22 per diluted share, for the fiscal year ended June 30, 2022. The decrease in net income in fiscal 2023 compared to fiscal 2022 was primarily attributable to a $2.8 million increase in the provision for loan losses as a result of a $374,000 provision for loan losses recorded during fiscal 2023 compared to a $2.5 million recovery from the allowance for loan losses during fiscal 2022, a $2.4 million increase in non-interest expense and a $641,000 decrease in non-interest income, partly offset by a $5.4 million increase in net interest income. The Corporation's efficiency ratio, defined as non-interest expense divided by the sum of net interest income and non-interest income, improved slightly to 69% in fiscal 2023 from 71% in fiscal 2022 as a result of the increase in net interest income. Return on average assets in fiscal 2023 decreased to 0.68% from 0.76% in fiscal 2022 and return on average stockholders' equity in fiscal 2023 decreased to 6.58% from 7.14% in fiscal 2022.
Net Interest Income. Net interest income increased $5.4 million, or 17%, to $37.0 million in fiscal 2023 from $31.6 million in fiscal 2022. This increase resulted from an increase in the net interest margin and, to a lesser extent, an increase in the average balance of interest-earning assets. The net interest margin increased 27 basis points to 2.99% in fiscal 2023 from 2.72% in fiscal 2022, due primarily to a 73 basis points increase in the average yield on interest-earning assets, partly offset by a 50 basis points increase in the average cost of interest-bearing liabilities. The average balance of interest-