Noninterest expense for the second quarter of 2022 decreased $3.1 million, or 17.0%, to $15.2 million compared to $18.3 million for the first quarter in 2022 and increased $1.8 million, or 13.4%, compared to $13.4 million for the same quarter in 2021. Noninterest expense for the first quarter of 2022 included $3.1 million of nonrecurring acquisition-related expenses related to our PEB acquisition, which were comprised of $555,000 in salary and employee benefits, $1.1 million in data processing expenses, $725,000 in professional and legal fees, $375,000 in occupancy expense, and $347,000 in other expenses. Noninterest expenses for the second quarter of 2022 increased compared to the same quarter in 2021 primarily due to $1.2 million increase in salaries and employee benefits as a result of an increase in the number of full-time equivalent employees, higher data processing fees of $397,000 and higher other expenses of $165,000.
Excluding acquisition-related expenses in the first quarter of 2022, noninterest expense for the second quarter of 2022 decreased $10,000 compared to the first quarter 2022 primarily due to a $478,000 decrease in salary and employee benefits due to reduction in full time equivalent employees in the beginning of the quarter, a $131,000 decrease in occupancy costs, partially offset by a $493,000 increase in data processing expense due to higher account activity, and a $106,000 increase in other noninterest expenses.
The provision for income taxes increased $201,000 to $2.1 million for the second quarter of 2022, compared to $1.9 million for prior quarter, and increased $112,000 compared to $2.0 million for the second quarter of 2021. The effective tax rate for the second quarter of 2022 was 29.1%, compared to 23.0% for the prior quarter, and 27.6% for the same quarter a year ago. The effective tax rate was higher for the second quarter of 2022 compared to the prior quarter due to the non-taxable bargain purchase gain in the first quarter of 2022. The effective tax rate was higher for the second quarter of 2022 compared to the same quarter a year ago due to higher capitalization of non-deductible merger related costs during the current quarter.
Loans and Credit Quality
Loans, net of deferred fees, increased $1.1 million from the prior quarter and totaled $2.0 billion at both June 30, 2022 and March 31, 2022, and increased $412.4 million compared to $1.6 billion at June 30, 2021. The increase in loans at June 30, 2022 compared to March 31, 2022 primarily was due to $165.0 million of new loan originations, partially offset by $157.0 million of loan repayments, including $45.8 million in PPP loan repayments, and $4.2 million in loan sales. At June 30, 2022, there was a total of 224 PPP loans outstanding totaling $68.8 million, compared to 375 loans totaling $114.6 million at March 31, 2022.
Nonperforming loans, consisting of non-accrual loans and accruing loans that are 90 days or more past due, totaled $10.7 million or 0.53% of total loans at June 30, 2022, compared to $12.6 million or 0.63% of total loans at March 31, 2022, and $8.7 million or 0.55% of total loans at June 30, 2021. The decrease in non-performing loans was primarily due recording a $2.4 million partial charge-off on the commercial and industrial national shared credit loan discussed above during the current quarter. The portion of nonaccrual loans guaranteed by government agencies totaled $780,000, $822,000, and $920,000 at June 30, 2022, March 31, 2022, and June 30, 2021, respectively. Accruing loans past due between 30 and 89 days at June 30, 2022, were $6.8 million, compared to $3.4 million at March 31, 2022, and $66,000 at June 30, 2021.
At June 30, 2022, the Company’s allowance for loan losses was $17.8 million, or 0.89% of total loans, compared to $17.7 million, or 0.88% of total loans, at March 31, 2022 and $17.0 million, or 1.07% of total loans, at June 30, 2021. The decline in the allowance for loan as a percentage of total loans outstanding at June 30, 2022, as compared to June 30, 2021, was due to the Company’s acquisition of PEB and related acquisition accounting on those loans, as the acquired loans were recorded at their estimate fair value at acquisition and no allowance for loan losses is recorded for acquired loans. We recorded net charge-offs of $2.5 million for the second quarter of 2022, compared to net charge-offs of $7,000 in the prior quarter and net recoveries of $7,000 in the same quarter a year ago.
In accordance with acquisition accounting, loans acquired from acquisitions were recorded at their estimated fair value, which resulted in a net discount to the loans contractual amounts. Credit discounts are included in the determination of fair value and as a result, no allowance for loan losses is recorded for acquired loans at the acquisition date. However, the allowance for loan loss includes an estimate for credit deterioration of acquired loans that occurs after the date of acquisition, which is included in the loan loss provision in the period that the deterioration occurred. The discount recorded on the acquired loans is not reflected in the allowance for loan losses or related allowance coverage ratios. As of