loss of $62,000 on equity securities during the six months ended June 30, 2021. The unrealized loss of $1.1 million on equity securities was primarily due to a rising interest rate environment due to the Federal Reserve’s interest rate increase, which impacted the value of the equity securities during the six months ended June 30, 2022.
The decrease in total non-interest income was partially offset by increases of $303,000 in other loan fees and service charges, $39,000 on gain from the sale of fixed assets, $16,000 in other non-interest income, $15,000 in investment advisory fees, and $2,000 in bank-owned life insurance income.
The increase in other loan fees and service charges was due to an increase of $185,000 in other loan fees and loan servicing fees and an increase of $116,000 in ATM and debit card usage fees.
Non-Interest Expense
Non-interest expense increased by $1.4 million, or 10.6%, to $14.2 million for the six months ended June 30, 2022 from $12.9 million for the six months ended June 30, 2021. The increase resulted primarily from increases of $759,000 in other operating expense, $272,000 in salaries and employee benefits, $121,000 in occupancy expense, $91,000 in outside data processing expense, $78,000 in equipment expense, and $58,000 in advertising expense, partially offset by a decrease of $16,000 in real estate owned expense.
Other non-interest expense increased by $759,000, or 23.5%, to $4.0 million for the six months ended June 30, 2022 from $3.2 million for the six months ended June 30, 2021 due mainly to increases of $372,000 in miscellaneous other non-interest expense, $254,000 in legal fees, $104,000 in service contracts expense, $44,000 in expenses related to the hiring of personnel, $43,000 in audit and accounting fees, $30,000 in insurance expense, $12,000 in office supplies, $11,000 in directors compensation, $4,000 in telephone expense, and $3,000 in directors, officers and employee expense. These increases were partially offset by a decrease of $118,000 in consulting fees.
The increase of $372,000 in miscellaneous other non-interest expense was mainly due to an increase of $217,000 in regulatory insurance premiums and assessments due to an increase in our total assets, an increase of $54,000 in miscellaneous charge-offs, an increase of $53,000 in public company expense, an increase of $25,000 in dues and subscriptions, and an increase of $19,000 in check and correspondence bank charges.
The increase of $254,000 in legal fees was due to the increased expenses associated with being a fully public company.
Salaries and employee benefits increased by $272,000, or 3.8%, to $7.4 million for the six months ended June 30, 2022 from $7.2 million for the six months ended June 30, 2021 primarily due to an increase in number of full time equivalent personnel related to the opening of two additional branch offices, an increase in bonus accruals for loan production personnel as loan originations increased, and an increase in employee stock ownership plan (“ESOP”) compensation cost as the ESOP purchased additional shares of Company common stock using funds loaned to the ESOP from the Company as part of the second-step conversion offering. These increases were partially offset by an increase in loan origination expenses and fees resulting from an increase in loan originations.
Occupancy expense increased by $121,000, or 11.6%, to $1.2 million for the six months ended June 30, 2022 from $1.0 million for the six months ended June 30, 2021 primarily as a result of the cost of operating additional branch office space.
Outside data processing expense increased by $91,000, or 11.0%, to $915,000 for the six months ended June 30, 2022 from $824,000 for the six months ended June 30, 2021 due to the cost of operating additional two branches and additional data processing services.
Equipment expense increased by $78,000, or 16.0%, to $566,000 for the six months ended June 30, 2022 from $488,000 for the six months ended June 30, 2021 due to the purchases of additional equipment to support the Company’s branch expansion.