We have contracted with an outside computer service company to provide our core data processing services. Data processing costs increased $55,000, or 5.3%, for the year ended December 31, 2009 and $190,000, or 22.6%, for the year ended December 31, 2008 when compared to the same periods in 2008 and 2007, respectively. The increases in costs were primarily related to the higher number of loan and deposit accounts as well as costs incurred in relation to new products offered to our clients. A significant portion of the fee charged by the third party processor is directly related to the number of loan and deposit accounts and the related number of transactions.
We receive income from debit card transactions performed by our clients. Since we outsource this service, we are charged related transaction expenses from our merchant service provider. Debit card transaction expense was $98,000 and $92,000 for the years ended December 31, 2009 and 2008, respectively, and $75,000 for the year ended December 31, 2007.
Occupancy expense represented 12.9%, 12.6% and 13.2% of total noninterest expenses for the years ended December 31, 2009, 2008, and 2007, respectively. Occupancy expense increased $384,000 to $1.9 million for the year ended December 31, 2009 from $1.6 million for the same period in 2008. The increase is primarily due to the costs of depreciation and maintenance associated with our new regional headquarters building in Columbia, South Carolina which opened in August 2009. During 2008, occupancy expense increased $121,000 from $1.4 million for the year ended December 31, 2007, due primarily to the additional depreciation and maintenance expenses associated with our two new retail offices opened in 2008.
The remaining $1.2 million increase in general and administrative expenses for the year ended December 31, 2009, compared to the same period in 2008, resulted primarily from increases of $873,000 in insurance expenses, $125,000 in professional fees, $76,000 in marketing expenses, $90,000 in telephone expenses and $60,000 in other expenses. The significant increase in insurance expense is primarily related to a general increase in the assessment rate used to calculate FDIC insurance premiums as well as the special assessment of approximately $300,000 charged by the FDIC. The increase in professional fees relates primarily to increased legal, accounting, and directors fees, while the increases in marketing and telephone expenses are due to increased community support and basic communication costs. In addition, the $60,000 increase in other expense is primarily due to a $115,000 increase in collection expenses, partially offset by decreases of $41,000 in office supplies, $32,000 in deposit account losses, and $23,000 in travel and business meal expenses.
Contributing to the increase in noninterest expenses for the year ended December 31, 2008 compared to the same period in 2007 were increases of $110,000 in insurance expenses, $84,000 in marketing expenses, and $200,000 in telephone and other expenses, partially offset by a decrease of $48,000 in professional fees. The increase in marketing expenses relates primarily to our new Greenville and Columbia retail offices, as well as expanding our market awareness in those areas, while the $110,000 increase in insurance costs is related to the growth in deposits and the FDIC deposit insurance assessment based on our deposit balances. In addition, telephone expenses increased with the addition of the two new retail offices and the additional number of employees. A significant portion of the increase in other expenses is due to increased costs of postage and office supplies, business meals, deposit account losses, and collection expenses. The decrease in professional fees is due primarily to the additional costs incurred during 2007 related to the name change of our company.
Income tax expense was $345,000, $626,000 and $1.6 million for the years ended December 31, 2009, 2008 and 2007. Our effective tax rate was 19.6% for the year ended December 31, 2009 and 25.3% and 32.3% for the years ended December 31, 2008 and 2007, respectively. During 2009 and 2008, the lower net income combined with additional tax-exempt income from bank owned life insurance, increased the impact that the tax-exempt income had on our net income before taxes. The lower net income before taxes for the years ended December 31, 2009 and 2008 increased the impact that our tax-exempt income had in lowering our effective tax rate from the same periods in the prior years.
Balance Sheet Review
General
At December 31, 2009, we had total assets of $719.3 million, consisting principally of $574.3 million in loans, $94.6 million in investments, $6.5 million in federal funds sold, $5.6 million in cash and due from banks, and $14.0 million in bank owned life insurance. Our liabilities at December 31, 2009 totaled $659.5 million, consisting principally of $494.1 million in deposits, $142.7 million in FHLB advances and related debt, a $4.3 million note payable, and $13.4 million of junior subordinated debentures. At December 31, 2009, our shareholders' equity was $59.8 million.
At December 31, 2008, we had total assets of $693.0 million, consisting principally of $566.6 million in loans, $85.4 million in investments, $8.8 million in federal funds sold, $4.4 million in cash and due from banks and $13.4 million in bank owned life insurance. Our liabilities at December 31, 2008 totaled $653.2 million, consisting principally of $469.5 million in deposits, $164.7 million in notes payable and other borrowings, and $13.4 million of junior subordinated debentures. At December 31, 2008, our shareholders' equity was $39.8 million.