At September 30, 2020, the Company had $382,155,000 in available borrowing capacity at FHLB (which takes into account FHLB long-term notes and FHLB short-term borrowings); the maximum borrowing capacity at ACBB was $15,000,000 and the maximum borrowing capacity of the Federal Discount Window was $4,449,000.
The Company enters into “Repurchase Agreements” in which it agrees to sell securities subject to an obligation to repurchase the same or similar securities. Because the agreement both entitles and obligates the Company to repurchase the assets, the Company may transfer legal control of the securities while still retaining effective control. As a result, the repurchase agreements are accounted for as collateralized financing agreements (secured borrowings) and act as an additional source of liquidity. Securities sold under agreements to repurchase were $23,123,000 at September 30, 2020.
Asset liquidity is provided by investment securities maturing in one year or less, other short-term investments, federal funds sold, and cash and due from banks. The liquidity is augmented by repayment of loans and cash flows from mortgage-backed and asset-backed securities. Liability liquidity is accomplished primarily by maintaining a core deposit base, acquired by attracting new deposits and retaining maturing deposits. Also, short-term borrowings provide funds to meet liquidity needs.
Net cash flows used in operating activities were $1,468,000 as of September 30, 2020, compared to net cash flows provided by operating activities of $8,297,000 as of September 30, 2019. Net income amounted to $8,571,000 for the nine months ended September 30, 2020 and $7,696,000 for the nine months ended September 30, 2019. During the nine months ended September 30, 2020 and 2019, net premium amortization on investment securities amounted to $1,484,000 and $2,054,000, respectively. Originations of mortgage loans originated for resale exceeded proceeds (including gains) from sales of mortgage loans originated for resale by $9,714,000 and $1,105,000 for the nine months ended September 30, 2020 and 2019, respectively. Net securities losses were $312,000 for the nine months ended September 30, 2020, compared to net securities gains of $837,000 for the nine months ended September 30, 2019. Accrued interest receivable increased by $1,325,000 during the nine months ended September 30, 2020 and decreased by $566,000 during the nine months ended September 30, 2019. Other assets decreased by $388,000 during the nine months ended September 30, 2020 and increased by $1,964,000 during the nine months ended September 30, 2019. Other liabilities decreased by $1,310,000 during the nine months ended September 30, 2020, compared to an increase of $1,097,000 during the nine months ended September 30, 2019.
Investing activities used cash of $75,567,000 during the nine months ended September 30, 2020 and provided cash of $6,268,000 during the nine months ended September 30, 2019. Net activity in the available-for-sale securities portfolio (including proceeds from sale, maturities, and redemptions net against purchases) used cash of $31,122,000 during the nine months ended September 30, 2020 and provided cash of $27,012,000 during the nine months ended September 30, 2019. Net cash used to originate loans amounted to $46,218,000 and $23,560,000 during the nine months ended September 30, 2020 and 2019, respectively.
Financing activities provided cash of $112,287,000 during the nine months ended September 30, 2020 and used cash of $8,615,000 during the nine months ended September 30, 2019. Deposits increased by $157,591,000 and $69,425,000 during the nine months ended September 30, 2020 and 2019, respectively. Short-term borrowings decreased by $31,540,000 and $84,257,000 during the nine months ended September 30, 2020 and 2019, respectively. There were no proceeds from long-term borrowings during the nine months ended September 30, 2020, compared to proceeds from long-term borrowings of $30,000,000 for the nine months ended September 30, 2019. Repayment of long-term borrowings amounted to $10,000,000 for the nine months ended September 30, 2020 and $20,000,000 for the nine months ended September 30, 2019. Dividends paid amounted to $4,724,000 and $4,680,000 during the nine months ended September 30, 2020 and 2019, respectively.
Managing liquidity remains an important segment of asset/liability management. The overall liquidity position of the Company is maintained by an active asset/liability management committee. The Company believes that its core deposit base is stable even in periods of changing interest rates. Liquidity and funds management are governed by policies and are measured on a monthly basis. These measurements indicate that liquidity generally remains stable and exceeds the Company’s minimum defined levels of adequacy. Other than the trends of continued competitive pressures and volatile interest rates, there are no known demands, commitments, events or uncertainties that will result in, or that