Our total commitments to extend credit and available credit lines are discussed in the following section of this Management’s Discussion and Analysis of Financial Condition and Results of Operations, including a table presenting our comparative exposure at June 30, 2020 and December 31, 2019.
CDs due within one year totaled $369.3 million, or 20.2% of total deposits, and $458.9 million, or $26.8% of total deposits, at June 30, 2020 and December 31, 2019, respectively. If we do not retain these deposits, we may be required to seek other sources of funds, including loan and securities sales and FHLB advances. Depending on market conditions, we may be required to pay higher rates on our deposits or other borrowings than we currently pay on the CDs held in our portfolio. We believe, however, based on historical experience and current market interest rates that we will retain upon maturity a large portion of our CDs with maturities of one year or less as of June 30, 2020.
Our primary investing activity is originating loans. During the first six months of 2020, cash used to fund net loan growth was $153.1 million, up $98.8 million from $54.3 million of cash used to fund net loan growth for the first six months of 2019. PPP loans originated during the second quarter of 2020, net of unamortized deferred fees and origination costs, accounted for $193.7 million of the net loan growth. During the first six months of 2020 we purchased $189.9 million of securities while securities sales, maturities, calls, and principal repayments totaled $130.8 million; this resulted in net securities purchases of $59.1 million. For the same period in 2019, we purchased $6.5 million of securities while securities sales, maturities, calls, and principal repayments totaled $81.2 million; this resulted in net securities sales, maturities, calls and principal repayments of $74.7 million.
Financing activities consist primarily of activity in deposit accounts and FHLB advances. For the first six months of 2020, our deposit growth was $116.3 million compared to $31.4 million during the first six months of 2019. Deposit flows are affected by the overall level of interest rates, the interest rates and products offered by us and our local competitors, and by other factors.
Liquidity management is both a daily and long-term function of business management. If we require funds beyond our ability to generate them internally, borrowing agreements exist with the FHLB, which provide an additional source of funds. FHLB advances decreased to $246.0 million at June 30, 2020 compared to $285.0 million at December 31, 2019. At June 30, 2020, we had an available line of credit for $626.9 million at the FHLB, with borrowings limited to a total of $510.4 million based on pledged collateral. This provides us with $264.4 million of borrowing availability at June 30, 2020. We also utilized the PPPLF during the second quarter of 2020, with total borrowings outstanding of $31.1 million at June 30, 2020. We have additional PPPLF borrowing capacity, based on the principal balance of unpledged PPP loans, totaling $157.9 million at June 30, 2020.
The Bank is subject to various regulatory capital requirements, including a risk-based capital measure. The risk-based capital guidelines include both a definition of capital and a framework for calculating risk-weighted assets by assigning balance sheet assets and off-balance sheet items to broad risk categories. At June 30, 2020 and December 31, 2019, we exceeded all regulatory capital requirements. We are considered “well capitalized” under regulatory guidelines.
Commitments, Contingent Liabilities, and Off-Balance Sheet Arrangements
We are party to financial instruments with off-balance sheet risk in the normal course of business to meet the financial needs of our customers. These financial instruments are limited to commitments to originate loans and involve, to varying degrees, elements of credit, interest rate, and liquidity risk. These do not represent unusual risks, and management does not anticipate any losses that would have a material effect on us.
Total commitments to extend credit and available credit lines at June 30, 2020 and December 31, 2019 are as follows:
| | | | | | |
| | June 30, | | December 31, |
(in thousands) | | 2020 | | 2019 |
Unfunded loan commitments | | $ | 94,370 | | $ | 77,314 |
Unused lines of credit | | | 276,070 | | | 309,519 |
Letters of credit | | | 14,529 | | | 13,853 |
Total commitments to extend credit and available credit lines | | $ | 384,969 | | $ | 400,686 |