Stockholders’ Equity. Stockholders' equity decreased $669,000, or 0.6%, to $107.5 million at June 30, 2023, primarily due to the repurchase of 200,000 shares of the Company’s stock, totaling $1.4 million, a $1.3 million increase in accumulated other comprehensive loss primarily reflecting valuation changes in our available-for-sale securities portfolio due to current financial market conditions, and a reduction in retained earnings of $633,000 due to the adoption of the current expected credit loss standard on January 1, 2023. These decreases were partially offset by our net income for the first six months of the year of $2.2 million. At June 30, 2023, the Company’s book value per share was $9.70 and the Company’s ratio of stockholders’ equity-to-total assets was 8.04%. At December 31, 2022, the Company’s book value per share was $9.58 and the Company’s ratio of stockholders’ equity-to-total assets was 8.09%. Unearned common stock held by the Bank’s employee stock ownership plan was $3.4 million and $3.5 million at June 30, 2023 and December 31, 2022, respectively.
Comparison of Operating Results for the Three and Six Months Ended June 30, 2023 and 2022
Net Income. Net income for the three months ended June 30, 2023 decreased $598,000, or 29.5%, to $1.4 million, or $0.13 per diluted share, compared to net income of $2.0 million, or $0.18 per diluted share, for the three months ended June 30, 2022. Interest and dividend income increased $3.2 million, or 27.3%, interest expense increased $4.8 million, or 546.7%, the provision for credit losses decreased $798,000, non-interest income decreased $145,000, or 9.6%, non-interest expense decreased $196,000, or 2.1%, and taxes decreased $120,000, or 23.5%, between comparable quarters.
Net income for the six months ended June 30, 2023 decreased $1.9 million, or 45.4%, to $2.2 million, or $0.20 per diluted share, compared to net income of $4.1 million, or $0.37 per diluted share, for the six months ended June 30, 2022. Interest and dividend income increased $6.8 million, or 30.1%, interest expense increased $8.6 million, or 499.1%, the provision for credit losses decreased $5,000, non-interest income decreased $480,000, or 14.9%, non-interest expense decreased $98,000, or 0.5%, and taxes decreased $341,000, or 35.7%, between comparable periods.
Net Interest Income. Net interest income decreased $1.6 million, or 14.4%, to $9.3 million for the three months ended June 30, 2023, compared to $10.9 million for the quarter ended June 30, 2022. The ratio of average interest-earning assets to average interest-bearing liabilities decreased 6.7% to 133.25% while our net interest margin decreased by 66 basis points to 2.97% when comparing the second quarter of 2023 to the same period in 2022.
Net interest income decreased $1.8 million, or 8.7%, to $19.2 million for the six months ended June 30, 2023, compared to $21.0 million for the six months ended June 30, 2022. The ratio of average interest-earning assets to average interest-bearing liabilities decreased 6.5% to 134.65% while our net interest margin decreased by 43 basis points to 3.09% when comparing the first six months of 2023 to the same period in 2022.
Interest Income. Interest income increased $3.2 million, or 27.3%, to $14.9 million for the three months ended June 30, 2023 from $11.7 million for the comparable 2022 period. Both interest and fees on loans and interest and dividends on securities increased as the yields increased due to the rising interest rate environment. For the three months ended June 30, 2023, the average balance of loans increased $99.8 million, while the average balance of available for sale securities decreased $51.4 million when compared to the three months ended June 30, 2022. The average yield on loans increased 56 basis points, while the average yield on available for sale securities increased 68 basis points. The overall average yield of interest-earning assets increased by 85 basis points to 4.77% and the overall average balance of interest-earning assets increased $54.7 million, or 4.6%.
Interest income increased $6.8 million, or 30.1%, to $29.5 million for the six months ended June 30, 2023 from $22.7 million for the comparable 2022 period. Both interest and fees on loans and interest and dividends on securities increased as the yields increased due to the rising interest rate environment. For the six months ended June 30, 2023, the average balance of loans increased $121.3 million, while the average balance of available for sale securities decreased $58.5 million when compared to the six months ended June 30, 2022. The average yield on loans increased 61 basis points, while the average yield on available for sale securities increased 59 basis points. The overall average yield of interest-earning assets increased by 94 basis points to 4.76% and the overall average balance of interest-earning assets increased $51.3 million, or 4.3%.