Selling and administrative expenses. Total selling and administrative expenses increased by $1.5 million to $5.3 million for the three months ended June 30, 2023, as compared to $3.8 million for the same period in the prior year. Total selling and administrative expenses increased by $5.6 million to $16.5 million for the nine months ended June 30, 2023, as compared to $10.9 million for the same period in the prior year. Selling and administrative expenses increased by $1.0 million and $2.5 million, respectively, for the three and nine months ended June 30, 2023, as compared to the same periods in 2022, for acquired businesses that were not in operation for all fiscal year 2022. The remaining increase was primarily related to additional personnel hired to secure and manage work for expected growth in fiscal year 2023 and beyond.
Other nonoperating expense. Other nonoperating expenses totaled $72,000 for the three months ended June 30, 2023, a decrease of $103,000 from $175,000 for the same period in the prior year. Other nonoperating expense totaled $164,000 for the nine months ended June 30, 2023, a decrease of $275,000 from $438,000 for the same period in the prior year.
Interest expense. Interest expense totaled $640,000 for the three months ended June 30, 2023, an increase of $409,000 from $231,000, as restated, for the same period in the prior year. Interest expense totaled $1.7 million for the nine months ended June 30, 2023, an increase of $1.1 million from $623,000, as restated, for the same period in the prior year. The increase in interest expense was primarily due to the financing of recent acquisitions, an increase in line of credit borrowings due to increased work, and an increase in interest rates.
Gain on sale of equipment. Gain on sale of equipment totaled $30,000 for the three months ended June 30, 2023, a decrease of $28,000 from $58,000 for the same period in the prior year. Gain on sale of equipment totaled $47,000 for the nine months ended June 30, 2023, a decrease of $371,000 from $418,000 for the same period in the prior year. The Company sold certain underutilized or non-working pieces of equipment at auction during the nine months ended June 30, 2022, with no comparable sale occurring during the three and nine months ended June 30, 2023.
Income before income taxes was $4.9 million for the three months ended June 30, 2023, compared to $2.2 million for the same period in the prior year. Income before income taxes was $2.4 million for the nine months ended June 30, 2023, compared to an income before tax of $3.1 million for the same period in the prior year. The changes were primarily related to the items mentioned above.
Income tax expense for the three months ended June 30, 2023, was $1.5 million compared to $651,000 for the same period in the prior year. Income tax expense for the nine months ended June 30, 2023, was $768,000 compared to income tax expense of $945,000 for the same period in the prior year. The changes in income tax expense were due to the changes in taxable income for the three and nine months ended June 30, 2023 as compared to the prior period.
Net income for the three and nine months ended June 30, 2023 was $3.4 million and $1.6 million, respectively, as compared to $1.7 million and $2.1 million for the same periods in the prior year.
Comparison of Financial Condition at June 30, 2023 and September 30, 2022
The Company had total assets of $129.2 million at June 30, 2023, an increase of $16.6 million from the prior fiscal year end balance of $112.6 million.
Accounts receivable, net of allowance for doubtful accounts, totaled $47.8 million at June 30, 2023, an increase of $9.4 million from the prior fiscal year end balance of $38.5 million. The increase was primarily due to the timing of cash collections and project invoicing since September 30, 2022.
The Company had net property, plant and equipment of $36.2 million at June 30, 2023, an increase of $3.5 million from the prior fiscal year end balance of $32.7 million. The increase was due to an $8.5 million cash investment in property, plant and equipment and a $893,000 addition of financed equipment, partially offset by $5.4 million in depreciation and net equipment disposals of $500,000.
Retainage receivable totaled $7.3 million at June 30, 2023, an increase of $2.9 million from the prior fiscal year end balance of $4.4 million. The increase was primarily due to more current year projects that require retainages to be withheld.
Right-of-use assets totaled $3.7 million at June 30, 2023, an increase of $2.1 million from the prior fiscal year end balance of $1.6 million. The increase was primarily due to $2.6 million in operating lease additions, partially offset by $578,000 in amortization expense, during the nine months ended June 30, 2023.