estimated loan lives. At December 31, 2021, we had outstanding commitments to originate loans of $3.5 million and unfunded lines of credit of $15.6 million. We anticipate that we will have sufficient funds available to meet our current lending commitments.
Consistent with our business strategy, we intend to increase the originations and purchases of one-to four-family residential real estate loans, and to continue to purchase to a lesser extent, automobile, recreational vehicle, and manufactured home loans. During the year ended December 31, 2021, we purchased $11.6 million of automobile loans, $18.1 million of recreational vehicle loans, and $11.3 million of manufactured home loans.
Cash and Cash Equivalents. Cash and cash equivalents decreased $5.8 million, or 21.7%, to $21.0 million at December 31, 2021 from $26.8 million at December 31, 2020 primarily due to purchases of investment securities available-for-sale.
Premises and Equipment. Premises and equipment decreased $1.4 million, or 8.3%, to $15.3 million at December 31, 2021 from $16.7 million at December 31, 2020. The decrease resulted primarily from recognition of depreciation expense of $1.0 million and the sale of a non-banking retail building.
Deposits. Deposits increased $2.5 million, or 0.8%, to $312.0 million at December 31, 2021 from $309.5 million at December 31, 2020. Noninterest-bearing deposits decreased $8.1 million, or 12.4%, to $57.5 million at December 31, 2021 from $65.7 million at December 31, 2020. Interest-bearing accounts increased $10.6 million, or 4.4%, to $254.5 million at December 31, 2021 from $243.9 million at December 31, 2020. The largest increase in interest-bearing deposits was in savings accounts which increased $8.0 million, or 7.8%, to $110.3 million at December 31, 2021 from $102.3 million at December 31, 2020. Interest-bearing checking accounts increased $5.4 million, or 17.1%, to $37.2 million at December 31, 2021 from $31.7 million at December 31, 2020. Money market accounts increased $5.0 million, or 19.0%, to $31.3 million at December 31, 2021 from $26.3 million at December 31, 2020. Conversely, certificates of deposit decreased $7.8 million, or 9.3%, to $75.7 million at December 31, 2021 from $83.5 million at December 31, 2020. Time deposits that are scheduled to mature in one year or less from December 31, 2021 totaled $56.4 million. We may utilize Federal Home Loan Bank advances in place of the maturing time deposits.
Municipal deposits held at Generations Commercial Bank decreased $753,000, or 10.7%, to $6.3 million at December 31, 2021 from $7.1 million at December 31, 2020.
Federal Home Loan Bank Advances. Federal Home Loan Bank advances decreased $9.9 million, or 35.7%, to $17.8 million at December 31, 2021 from $27.6 million at December 31, 2020. The average cost of outstanding advances from the Federal Home Loan Bank was 1.91% at December 31, 2021, compared to our weighted average rate on deposits of 0.47% at that date.
Subordinated Debt and Other Borrowings. Subordinated debt and other borrowings, which totaled $1.2 million at December 31, 2020 were repaid in full during January 2021 and were $0 at December 31, 2021.
Total Equity. Total equity increased $13.6 million, or 45.5%, to $43.5 million at December 31, 2021 from $29.9 million at December 31, 2020. The increase was primarily due to net proceeds of $13.2 million from the stock offering completed in January 2021, net income of $1.4 million during the period, and a $449,000 decrease in other accumulated comprehensive loss, offset in part, by a $1.1 million increase in unearned ESOP shares, at cost and recording the $364,000 fair value of our shares of common stock held in supplemental executive and director retirement plans.
Comparison of Operating Results for the Years Ended December 31, 2021 and December 31, 2020
General. Net income for the year ended December 31, 2021 was $1.4 million, as compared to $1.7 million for the year ended December 31, 2020, a decrease of $335,000, or 19.2%. The decrease was primarily attributable to a $387,000 increase in income tax expense, a $82,000 increase in noninterest expense, a $60,000 increase in provision for loan losses, and a $1.2 million decrease in noninterest income, partially offset by a $1.4 million increase in net interest income.
Interest and Dividend Income. Interest and dividend income increased $187,000, or 1.4%, to $13.6 million for the year ended December 31, 2021 from $13.4 million for the year ended December 31, 2020. The increase was primarily attributable to an increase of $186,000 in interest on loans receivable. The average balance of loans increased $6.5 million, or 2.3%, to $284.8 million for the year ended December 31, 2021 from $278.3 million for the year ended December 31, 2020, primarily due to purchases of loans secured by recreational vehicles, manufactured homes, and automobiles, partially offset by a decrease in one- to four-family residential mortgages.