Our consolidated operating expenses consist of the following items:
Payroll and Related Costs. Payroll and related costs increased $2.3 million, or 8.2%, to $30.0 million for the three months ended June 30, 2023, compared to the three months ended June 30, 2022. The increase was primarily driven by increases in union employee bonuses of $1.7 million, most of which is related to increased pilot bonuses; increased pilot wages of $0.8 million; maintenance employee wages and bonuses of $0.5 million; management employee wages of $0.3 million; payroll taxes of $0.2 million; and other employee expenses of $0.1 million. The increase was partially offset by a decrease of $1.2 million in employee benefits and $0.2 million in wages for flight attendants.
Aircraft Fuel and Oil. Substantially all of the fuel costs incurred as a result of flying pursuant to the United capacity purchase agreement and the American capacity purchase agreement during the three months ended June 30, 2023 and June 30, 2022 were directly paid to suppliers by United or American, as applicable. Aircraft fuel and oil expense primarily reflects the costs associated with fuel purchased for maintenance flights. These expenses were immaterial for the three months ended June 30, 2023 and June 30, 2022.
Aircraft Maintenance, Materials and Repairs. Aircraft maintenance, materials and repairs costs increased $1.5 million, or 9.4%, to $17.9 million for the three months ended June 30, 2023 compared to the three months ended June 30, 2022, primarily as a result of an increase in airframe repairs and parts scrapped of $1.9 million and $0.2 million, respectively. The increase was largely driven by higher maintenance rates and a greater reliance on third-party maintenance providers due to the ongoing labor shortage. Other increases included $0.1 million in engine overhaul amortization and $0.1 million in shop supplies, tool purchases and repairs, and a decrease in parts rebates. The increase was partially offset by a decrease of $0.4 million in engine repair costs and $0.4 million of materials used.
Other Rents. Other rents expense decreased $0.2, or 11.0%, to $1.5 million for the three months ended June 30, 2023 compared to the three months ended June 30, 2022, primarily due to a short-term rent abatement for a flight simulator during construction at the facility.
Depreciation, Amortization and Obsolescence. Depreciation, amortization and obsolescence expense decreased $0.3 million, or 4.6%, to $6.4 million for the three months ended June 30, 2023 compared to the three months ended June 30, 2022, primarily related to a $0.3 million decrease in obsolescence reserves.
Purchased Services, Legal and Other. Purchased services, legal and other expense increased $4.0 million, or 114.3%, to $7.5 million for the three months ended June 30, 2023 compared to the three months ended June 30, 2022. The increase was primarily due to an increase of $4.1 million in legal fees related to the United dispute, $0.1 million for Canadian landing fees, and $0.1 million associated with a loss on disposal of assets. This increase was partially offset by a decrease of $0.1 million for general and liability insurance and $0.2 million for an overall decrease in other services and supplies.
Other Income (Expense)
Interest Income. Interest and dividend income remained relatively unchanged for the three months ended June 30, 2023 compared to the three months ended June 30, 2022. Interest and dividend income related to marketable securities and money market funds increased by $0.2 million and was offset by a decrease in United note receivable interest income of $0.2 million.
Interest Expense. Interest expense was immaterial and relatively unchanged for the three months ended June 30, 2023 compared to the three months ended June 30, 2022.
Loss on Marketable Securities. Loss on marketable securities decreased $2.8 million for the three months ended June 30, 2023 compared to the three months ended June 30, 2022, due to an increase in the market value of marketable securities. There were $0.7 million in unrealized losses and $0.1 million in realized losses recorded for the three months ended June 30, 2023 compared to an unrealized loss of $3.6 million for the three months ended June 30, 2022.
Gain on Extinguishment of Debt. There was a gain on extinguishment of debt recorded in the amount of $0.1 million for the three months ended June 30, 2023 and no gain recorded in the three months ended June 30, 2022. This is related to a prepayment of $3.5 million of debt that was due December 31, 2023. The gain is due to the decrease in previously expected future interest that was capitalized.
Other, Net. Other income and expense was immaterial and relatively unchanged for the three months ended June 30, 2023 compared to the three months ended June 30, 2022.
Net (Loss) Income
Net loss for the three months ended June 30, 2023 was $9.2 million, or $0.21 per basic share and $0.21 per diluted share, compared to net income of $15.1 million, or $0.32 per basic share and $0.24 per diluted share, for the three months ended June 30, 2022. For additional information, refer to Note 10, Earnings Per Share and Equity.
The decrease in net income for the three months ended June 30, 2023, compared to the three months ended June 30, 2022, primarily resulted from a decrease in operating revenue, and an increase in overall operating expenses consisting primarily of payroll, maintenance, and legal expenses. The decrease in net income was partially offset by non-operating income primarily resulting from a decrease in unrealized losses on marketable securities.
24