income for the prior calendar year or 10% of statutory policyholders’ surplus as of the prior year end. Dividends may only be paid from unassigned surplus funds. HIC and HNIC, both domiciled in Arizona, are limited in the payment of dividends to the lesser of 10% of prior year policyholders’ surplus or prior year’s statutory net income, without prior written approval from the Arizona Department of Insurance. HSIC, domiciled in Oklahoma, is limited in the payment of dividends to the greater of 10% of prior year policyholders’ surplus or prior year’s statutory net income, not including realized capital gains, without prior written approval from the Oklahoma Insurance Department. During 2020, the aggregate ordinary dividend capacity of these subsidiaries is $22.6 million, of which $15.8 million is available to Hallmark. As a county mutual, dividends from HCM are payable to policyholders. During the first six months of 2020 and 2019, our insurance company subsidiaries paid $8.0 million and $10.0 million in dividends to Hallmark, respectively. During the first six months of 2020 our insurance subsidiaries paid $1.5 million in managements fees to Hallmark. During the first six months of 2019 our insurance subsidiaries did not pay management fees to Hallmark.
Comparison of June 30, 2020 to December 31, 2019
On a consolidated basis, our cash (excluding restricted cash) and investments at June 30, 2020 were $698.2 million compared to $729.0 million at December 31, 2019. The primary reasons for this decrease in unrestricted cash and investments were decreases in investment fair values, cash used in operations and net purchases of fixed assets.
Comparison of Six Months Ended June 30, 2020 and June 30, 2019
During the six months ended June 30, 2020, our cash flow used by operations was $7.0 million compared to cash flow provided by operations of $6.7 million during the same period the prior year. The cash flow used by operations was driven by an increase in net paid claims, increased paid operating expenses, lower collected investment income, lower commission and fee income and higher interest paid, partially offset by increased collected net premiums and lower taxes paid during the six months ended June 30, 2020 as compared to the same period the prior year.
Net cash provided by investing activities during the first six months of 2020 was $80.5 million as compared to net cash provided by investing activities of $23.9 million during the first six months of 2019. The increase in cash provided by investing activities during the first six months of 2020 was primarily comprised of an increase of $111.7 million in maturities, sales and redemptions of investment securities and a $1.3 million decrease in purchases of fixed assets, partially offset by an increase of $56.4 million in purchases of debt and equity securities.
The Company did not report any net cash from financing activities during the first six months of 2020. Cash provided by financing activities during the first six months of 2019 was $0.1 million primarily as a result of proceeds from the exercise of employee stock options of $1.5 million, partially offset by $1.4 million in repurchases of our common stock.
Revolving Credit Facilities
Our Second Restated Credit Agreement with Frost Bank (“Frost”) dated June 30, 2015, as amended, provided a $15.0 million revolving credit facility (“Facility A”), with a $5.0 million letter of credit sub-facility. The outstanding balance of the Facility A bore interest at a rate equal to the prime rate or LIBOR plus 2.5%, at our election. We paid an annual fee of 0.25% of the average daily unused balance of Facility A and letter of credit fees at the rate of 1.00% per annum. On August 19, 2019, we terminated Facility A.
The Second Restated Credit Agreement with Frost also provided a $30.0 million revolving credit facility (“Facility B”), in addition to Facility A. We used Facility B loan proceeds solely for the purpose of making capital contributions to AHIC and HIC. We paid a quarterly fee of 0.25% per annum of the average daily unused balance of Facility B. Facility B bore interest at a rate equal to the prime rate or LIBOR plus 3.00%, at our election. On August 19, 2019, we repaid the $30.0 million principal balance and accrued interest on Facility B. Upon such repayment, we terminated Facility B.