and 2.67%, respectively for the six months ended June 30, 2023 from 2.81% and 2.98%, respectively, for the six months ended June 30, 2022. The net interest margin and net interest margin on a tax-equivalent basis(1) decreased to 2.82% and 2.98%, respectively, for the six months ended June 30, 2023 from 2.90% and 3.06% for the six months ended June 30, 2022.
Noninterest income decreased $56,000, or 15.4%, for the quarter ended June 30, 2023 as compared to the same period in 2022, due primarily to a reduction in brokered loan fees of $39,000, partially offset by an increase of $15,000 in ATM and debit card fee income and a $7,000 net gain on the disposal of foreclosed real estate. A gain on life insurance of $36,000 was recorded during the quarter ended June 30, 2022 whereas no gain was recorded during the quarter ended June 30, 2023.
Noninterest income decreased $97,000, or 14.9%, for the six months ended June 30, 2023 as compared to the same period in 2022, due primarily to a reduction in brokered loan fees of $67,000 and a $27,000 net loss on the sale of available-or-sale investment securities, partially offset by increases of $18,000 in ATM and debit card fee income and $9,000 in deposit account service charges and a $7,000 net gain on the disposal of foreclosed real estate. A gain on life insurance of $36,000 was recorded during the six months ended June 30, 2022 whereas no gain was recorded during the six months ended June 30, 2023.
Noninterest expense increased $88,000, or 5.0%, for the quarter ended June 30, 2023 as compared to the same period in 2022. The increase was due primarily to increases in data processing expenses of $103,000, stockholders’ meeting expense of $61,000, occupancy and equipment expenses of $15,000, deposit insurance premiums of $13,000 and other expenses of $25,000, partially offset by lower compensation and benefits expenses of $50,000, marketing and business development expenses of $35,000 and professional fees of $29,000.
Noninterest expense increased $320,000, or 9.8%, for the six months ended June 30, 2023 as compared to the same period in 2022. The increase was due primarily to increases in data processing expenses of $196,000, stockholders’ meeting expense of $61,000, occupancy and equipment expenses of $38,000, deposit insurance premiums of $17,000 and other expenses of $45,000, partially offset by lower marketing and business development expenses of $31,000 and supervisory examination expenses of $12,000.
The Company recorded an income tax expense of $9,000 for the quarter ended June 30, 2023, compared to an income tax expense of $24,000 for the same period in 2022. For the six months ended June 30, 2023, the Company recorded an income tax benefit of $28,000 compared to an income tax expense of $58,000 for the six months ended June 30, 2022. The income tax benefit is primarily due to an increase in tax-exempt income in proportion to income before income taxes.
Balance Sheet Review
Total assets as of June 30, 2023 were $266.3 million compared to $269.2 million at December 31, 2022. The decrease in total assets was primarily due to decreases in investment securities of $6.2 million, partially offset by an increase in net loans of $3.2 million. Investment securities decreased due primarily to the sale of $4.1 million of available-for-sale investment securities, $2.8 million in scheduled principal payments, call and maturities of available-for-sale investment securities, partially offset by a $840,000 unrealized gain on available-for-sale investment securities. The increase in net loans was due primarily to increases of $3.3 million in commercial real estate loans, $1.3 million in multi-family residential loans and $942,000 in commercial real estate construction loans, partially offset by a $666,000 decrease in commercial business loans, a $483,000 decrease in residential construction loans and a $458,000 decrease in one-to-four family residential loans. Total liabilities, comprised mostly of deposits, decreased $3.7 million to $232.2 million as of June 30, 2023. The decrease was due primarily to a $2.5 million decrease in noninterest-bearing deposits, a $689,000 decrease in interest-bearing deposits, and a $800,000 decrease in borrowings.
Credit Quality
Non-performing loans increased to $913,000 at June 30, 2023 compared to $732,000 at December 31, 2022, or 0.6% and 0.5% of total loans at June 30, 2023 and December 31, 2022, respectively. At June 30, 2023, $577,000 or 63.2% of non-performing loans were current on their loan payments. There was no foreclosed real estate owned at either June 30, 2023