Noninterest expense was $10.0 million for the three months ended June 30, 2021 compared with $9.1 million for the comparable period a year earlier, primarily reflecting increases in compensation and employee benefits expenses and other operating expenses. Gain on foreclosed real estate in the fiscal third quarter of 2021 also included a credit of $534,000 to other expense, reflecting a deferred income credit related to a prior sale of a foreclosed real estate property. Noninterest expense was $30.6 million for the nine months ended June 30, 2021 compared with $28.7 million for the comparable period a year earlier primarily reflecting increases in compensation and employee benefits expenses and other operating expenses. Gain on foreclosed real estate also increased $700,000. In both periods of 2021, increased compensation and employee benefits included performance-based commissions paid to residential mortgage team members, reflecting strong mortgage origination activity.
Balance Sheet, Asset Quality and Capital Adequacy Review
Total assets decreased $71.3 million to $1.82 billion at June 30, 2021, from $1.89 billion at September 30, 2020, primarily due to decreases in investment securities available for sale and loans receivable offset in part by increases cash and cash equivalents. The Company built the majority of its cash position in the fiscal second quarter of 2020 and has maintained that position through the third quarter of fiscal 2021 as managed declines in borrowed funds were more than offset by increases in deposits. At June 30, 2021, cash and cash equivalents were $185.4 million.
Total net loans were $1.37 billion at June 30, 2021 compared with $1.42 billion at September 30, 2020. Residential real estate loans were $584.4 million at June 30, 2021 compared to $610.4 million at September 30, 2020. The Company sold $52.6 million in residential mortgage loans to the Federal Home Loan Bank of Pittsburgh during the nine months ended June 30, 2021, recording gains on the sale of these loans in noninterest income. Indirect auto loans declined by $21.0 million during the third quarter of fiscal 2021, reflecting expected runoff of the portfolio as the Company exits the indirect auto lending business.
Commercial real estate loans were $578.5 million at June 30, 2021 compared with $509.6 million at September 30, 2020, with growth reflecting new loans, primarily in the Philadelphia market. Commercial loans were $95.2 million, compared with $139.6 million at September 30, 2020, primarily reflecting the net decrease of $32.6 million in PPP loans during fiscal 2021. Construction loans increased to $12.2 million at June 30, 2021 from $11.9 million at September 30, 2020.
Loans remaining in forbearance at June 30, 2021 included $29.8 million in commercial real estate, $481,000 in commercial and $1.1 million in mortgage. In total, these loans represent 2.3% of our total outstanding loans at June 30, 2021 compared to 4.5% at September 30, 2020 and 12.4% at June 30, 2020.
Total deposits were $1.59 billion at June 30, 2021 up 3.0% compared with $1.54 billion at September 30, 2020. Core deposits (demand accounts, savings and money market) were $1.35 billion, or 84.8% of total deposits, at June 30, 2021. Noninterest bearing demand accounts were $277.8 million, up 14.5% from September 30, 2020, interest bearing demand accounts rose 72.2% to $473.1 million from September 30, 2020 levels, and money market accounts were $410.3 million, up $8.4 million or 2.1% from September 30, 2020. Total borrowings decreased to zero at June 30, 2021 from $125.9 million at September 30, 2020 as the Company shifted its wholesale funding to lower costing brokered deposits.
Nonperforming assets were $21.9 million, or 1.20% of total assets, at June 30, 2021, compared with $25.1 million, or 1.27% of total assets at March 31, 2021, $20.6 million, or 1.09% of total assets, at September 30, 2020 and $20.5 million, or 1.02% of total assets at June 30, 2020. Nonperforming assets include two nonperforming commercial real estate loans totaling $8.9 million and one commercial loan relationship totaling $5.6 million. The commercial real estate loans are well collateralized and carry personal guarantees.
For the three months ended June 30, 2021, the Company’s return on average assets and return on average equity were 0.85% and 8.07%, compared with 0.76% and 7.76%, respectively, in the comparable period of fiscal 2020.