Income tax expense was $5.8 million for the six months ended June 30, 2020 compared to $6.3 million for the six months ended June 30, 2019, reflecting lower income before income taxes, partially offset by a higher effective tax rate in the 2020 period. The effective tax rate was 22.7% for the six months ended June 30, 2020 compared to 21.0% for the same period in 2019. We estimate we will record income tax at an effective tax rate of approximately 22.7% for the remainder of 2020.
Financial Condition
Total assets were $6.2 billion at June 30, 2020, $1.2 billion, or 25.0%, higher than December 31, 2019. The rise in total assets in 2020 reflects increases in loans held for investment and cash and cash equivalents, partially offset by a decrease in securities.
Cash and cash equivalents increased $372.6 million, or 317.9%, to $489.8 million at June 30, 2020 compared to December 31, 2019. Total securities decreased $126.8 million, or 15.8%, to $678.0 million at June 30, 2020 compared to December 31, 2019. Total loans held for investment, net, increased $940.5 million, or 25.6%, to $4.6 billion at June 30, 2020 compared to December 31, 2019, inclusive of PPP loans totaling $949.7 million. Net deferred loan fees were $17.3 million at June 30, 2020, inclusive of $26.0 million remaining unamortized net loan fees related to PPP loans. Our focus is on our ability to grow the loan portfolio, while minimizing interest rate risk sensitivity and maintaining credit quality.
Total liabilities were $5.6 billion at June 30, 2020, $1.2 billion higher than December 31, 2019. The increase in total liabilities in 2020 was mainly due to deposit growth, attributable to PPP related deposits, partially offset by a decrease in FHLB advances.
Total deposits increased $1.3 billion, or 33.2%, to $5.1 billion at June 30, 2020, compared to December 31, 2019. The increase in total deposits in 2020 was largely attributable to higher demand deposits and savings, NOW and money market deposits. Demand deposits increased $645.2 million, or 42.5%, to $2.2 billion at June 30, 2020 compared to December 31, 2019. The rise in demand deposits in the second quarter of 2020 was primarily driven by an inflow of PPP-related deposits. Savings, NOW and money market deposits increased $630.5 million, or 31.7%, to $2.6 billion at June 30, 2020 compared to December 31, 2019. Certificates of deposit decreased $10.0 million, or 3.2%, to $298.0 million at June 30, 2020 compared to December 31, 2019. FHLB advances decreased $95.0 million to $340.0 million at June 30, 2020 compared to December 31, 2019.
Total stockholders' equity increased $5.5 million to $502.6 million at June 30, 2020 compared to $497.2 million at December 31, 2019. We adopted the CECL Standard on January 1, 2020, which resulted in a charge to retained earnings and reduction to stockholders’ equity of $1.5 million. The increase in stockholders’ equity was largely attributable to net income of $20.0 million, partially offset $9.6 million in dividends, $4.6 million in purchases of treasury stock, and other comprehensive loss, net of deferred income taxes, of $0.4 million. During the six months ended June 30, 2020, there were 179,620 shares purchased under the 2019 Stock Repurchase Program at a cost of $4.6 million.
Liquidity
Our liquidity management objectives are to ensure the sufficiency of funds available to respond to the needs of depositors and borrowers, and to take advantage of unanticipated opportunities for our growth or earnings enhancement. Liquidity management addresses our ability to meet financial obligations that arise in the normal course of business. Liquidity is primarily needed to meet customer borrowing commitments and deposit withdrawals, either on demand or on contractual maturity, to repay borrowings as they mature, to fund current and planned expenditures and to make new loans and investments as opportunities arise.
The Holding Company’s principal sources of liquidity included cash and cash equivalents of $2.0 million as of June 30, 2020, and dividend capabilities from the Bank. Cash available for distribution of dividends to our shareholders is primarily derived from dividends paid by the Bank to the Company. For the six months ended June 30, 2020, the Bank paid $15.0 million in cash dividends to the Holding Company. Prior regulatory approval is required if the total of all dividends declared by the Bank in any calendar year exceeds the total of the Bank's net income of that year combined with its retained net income of the preceding two years. As of June 30, 2020, the Bank had $65.5 million of retained net income available for dividends to the Holding Company. In the event the Holding Company subsequently expands its current operations, in