losses on unfunded loan commitments. The provision for credit losses on loans reflects the increase in total loans receivable and net charge-offs for the three months ended June 30, 2023, while the reversal of the allowance for credit losses on unfunded loan commitments for the three months ended June 30, 2023, was a result of a decrease in total unfunded commitments during current quarter.
During the three months ended June 30, 2023, net loan charge-offs totaled $650,000, compared to $16,000 during the three months ended June 30, 2022. The increase was primarily due to increases in net charge-offs of $476,000 in indirect home improvement loans and $152,000 in marine loans. A further decline in national and local economic conditions, as a result the effects of inflation, a potential recession or slowed economic growth, among other economic factors, could result in a material increase in the ACL for loans and may adversely affect the Company’s financial condition and result of operations.
Noninterest Income. Noninterest income increased $478,000 to $4.8 million for the three months ended June 30, 2023, from $4.4 million for the three months ended June 30, 2022. The increase reflects a $584,000 million increase in service charges and fee income primarily as a result of less amortization of mortgage servicing rights reflecting increased market interest rates and increased servicing fees from non-portfolio serviced loans, partially offset by a $119,000 decrease in gain on sale of loans due primarily to a reduction in origination and sales volume of loans held for sale. As of June 30, 2023, the servicing rights were being amortized over an approximate six-year period. Gross margin on home loan sales decreased to 3.07% for the three months ended June 30, 2023, from 3.10% for the three months ended June 30, 2022.
Noninterest Expense. Noninterest expense increased $5.3 million to $24.2 million for the three months ended June 30, 2023, from $18.9 million for the three months ended June 30, 2022. The increase was primarily the result a $1.8 million increase in salaries and benefits, largely due to an increase in the number of full-time equivalent employees (“FTEs”) as a result of the Branch Acquisition. Other increases included $1.3 million in operations expense, $851,000 in amortization of CDI, $406,000 in FDIC insurance due to asset growth and an increase in assessment rates, and $304,000 in occupancy expense.
The efficiency ratio, which is calculated by dividing noninterest expense by total net interest income and noninterest income, increased slightly to 66.52% for the three months ended June 30, 2023, compared to 65.08% for the three months ended June 30, 2022, primarily due to the increase in noninterest expenses related to the Branch Acquisition.
Provision for Income Taxes. For the three months ended June 30, 2023, the Company recorded a provision for income taxes of $2.3 million as compared to $1.6 million for the three months ended June 30, 2022. The increase in the income taxes provision was primarily due to a $3.2 million increase in pre-tax income during the three months ended June 30, 2023, as compared to the same quarter last year. The effective corporate income tax rates for the three months ended June 30, 2023 and 2022 were 20.5% and 19.1%, respectively. The increase in the effective corporate income tax rate was attributable to a decrease in nontaxable income between periods.
Comparison of Results of Operations for the Six Months Ended June 30, 2023 and 2022
General. Net income was $17.3 million for the six months ended June 30, 2023, and $13.6 million for the six months ended June 30, 2022. The increase in net income for the six months ended June 30, 2023, was primarily due to a $14.8 million, or 31.1%, increase in net interest income, partially offset by a $9.7 million, or 25.6%, increase in noninterest expense, a $1.2 million, or 36.9%, increase in provision for income taxes, and a $179,000 decrease in noninterest income.
Average Balances, Interest and Average Yields/Cost
The following table sets forth for the periods indicated, information regarding average balances of assets and liabilities, as well as the total dollar amounts of interest income from average interest-earning assets and interest expense on average interest-bearing liabilities, resultant yields, interest rate spread, net interest margin (otherwise known as net yield on interest-earning assets), and the ratio of average interest-earning assets to average interest-bearing liabilities. Also presented is the weighted average yield on interest-earning assets, rates paid on interest-bearing liabilities and the resultant spread at for the periods presented. Income and all average balances are daily average balances. Nonaccrual loans have been included in the table as loans carrying a zero yield. The yields on tax-exempt municipal bonds have not been computed on a tax equivalent basis.