combined ratio exceeded 120%. As a result, AHIC submitted a risk-based capital plan to the Texas Insurance Department (TDI) in April 2023 including identifying the conditions which contributed to the Company Action Level Event, proposals of corrective actions and four year financial projections. Due to the outcome of the DARAG arbitration, the Company submitted a revised risk-based capital plan (“RBC Plan”) to TDI. The Company has reviewed the RBC Plan with TDI and is currently in the process of implementation.
Comparison of June 30, 2023 to December 31, 2022
On a consolidated basis, our cash (excluding restricted cash) and investments at June 30, 2023 were $469.1 million compared to $513.9 million at December 31, 2022. The primary reason for this decrease in unrestricted cash and investments was cash used by operations, offset in part from sales and maturities of investment securities.
Comparison of Six Months Ended June 30, 2023 and June 30, 2022
During the six months ended June 30, 2023, our cash flow used by operations was $63.0 million compared to cash flow used by operations of $78.3 million during the same period the prior year. The improvement in cash flow used in operations was driven primarily by a decrease in net paid claims and higher collected investment income, partially offset by increased paid operating expenses due to the partial write-off of the receivable from DARAG and lower federal income taxes recovered during the six months ended June 30, 2023.
Net cash provided by investing activities during the first six months of 2023 was $155.5 million as compared to net cash used in investing activities of $161.1 million during the first three months of 2022. The net cash provided by investing activities during the first six months of 2023 as compared to the same period of 2022 was comprised of a decrease of $255.0 million in purchases of debt and equity securities, an increase of $44.6 million in maturities, sales and redemptions of investment securities and a $1.2 million decrease in purchases of fixed assets.
The Company did not report any net cash from financing activities during the first six months of 2023 or 2022.
Senior Unsecured Notes
On August 19, 2019, Hallmark issued $50.0 million of senior unsecured notes (“Notes”) due August 15, 2029. Interest on the Notes accrues at the rate of 6.25% per annum and is payable semi-annually in arrears commencing February 15, 2020. The Notes are not obligations of or guaranteed by any of Hallmark’s subsidiaries and are not subject to any sinking fund requirements. At Hallmark’s option, the Notes are redeemable, in whole or in part, prior to the stated maturity subject to certain provisions intended to make the holders of the Notes whole on scheduled interest and principal payments. The indenture governing the Notes contains certain covenants which, among other things, restrict Hallmark’s ability to incur additional indebtedness, make certain payments, create liens on the stock of certain subsidiaries, dispose of certain assets, or merge or consolidate with other entities. The terms of the indenture prohibit payments or other distributions on any security of the Company that ranks junior to the Notes when the Company’s debt to capital ratio (as defined in the indenture) is greater than 35%. The Company’s debt to capital ratio was 89.5% as of June 30, 2023.
Subordinated Debt Securities
On June 21, 2005, we formed Hallmark Statutory Trust I (“Trust I”), an unconsolidated trust subsidiary, for the sole purpose of issuing $30.0 million in trust preferred securities. Trust I used the proceeds from the sale of these securities and our initial capital contribution to purchase $30.9 million of junior subordinated debt securities from Hallmark. The debt securities are the sole assets of Trust I, and the payments under the debt securities are the sole revenues of Trust I. On August 23, 2007, we formed Hallmark Statutory Trust II (“Trust II”), an unconsolidated trust subsidiary, for the sole purpose of issuing $25.0 million in trust preferred securities. Trust II used the proceeds from the sale of these securities and our initial capital contribution to purchase $25.8 million of subordinated debt securities from Hallmark. The debt securities are the sole assets of Trust II, and the payments under the debt securities are the sole revenues of Trust II.
Each trust pays dividends on its preferred securities at the same rate each quarter as interest is paid on the junior subordinated debt securities. Under the terms of the trust subordinated debt securities, we pay interest only each quarter