receivable, between periods. We received income tax refunds during the nine months ended September 30, 2020 and 2021 of $39 million and $17 million, respectively, from certain net operating loss carryback provisions included in the Coronavirus Aid, Relief, and Economic Security Act that was enacted in March 2020.
Investing Activities. Net cash flows used in investing activities was $188 million and $157 million for the nine months ended September 30, 2020 and 2021, respectively. The decrease in cash flows used in investing activities was primarily due to (i) a $17 million decrease in additions to our gathering system and (ii) a $23 million decrease in investments made in unconsolidated affiliates, partially offset by a $9 million increase in additions to our water handling system between periods.
Financing Activities. Net cash used in financing activities was $358 million and $389 million for the nine months ended September 30, 2020 and 2021, respectively. The increase in cash flows used in financing activities was primarily due to the redemption of $650 million of 2024 Notes at 102.688% of par on June 8, 2021 and $93 million net repayments on the Prior Credit Facility during the nine months ended September 30, 2021, partially offset by (i) the issuance of $750 million of 2029 Notes on June 8, 2021 and (ii) reduced dividends to stockholders of $79 million between periods, and (iii) no payments for contingent acquisition consideration or repurchases of common stock during the nine months ended September 30, 2021. During the nine months ended September 30, 2020, we used $125 million for payment to Antero Resources for contingent acquisition consideration (net of $8 million reflected in the cash flows provided by operating operations related to the accretion of fair value), $25 million for repurchases of common stock and incurred net borrowings on the Prior Credit Facility of $228 million.
2021 Capital Investment
The Board approved a 2021 capital budget with a range of $240 million to $260 million, which includes approximately $65 million of additional growth capital supporting the increased gross volumes expected from Antero Resources as a result of its drilling partnership that was announced during the first quarter of 2021. Our capital budgets may be adjusted as business conditions warrant, and we plan to expand our existing Appalachian Basin gathering, compression and water handling infrastructure to accommodate Antero Resources’ announced development plans.
Antero Resources announced its 2021 consolidated drilling and completion budget of $590 million, which includes plans to operate three drilling rigs and complete between 65 and 70 horizontal wells on a gross basis, substantially all of which are located on acreage dedicated to us. Antero also announced that as a result of the drilling partnership, the Company will increase its drilled wells from a range of 65 to 70 wells to 80 to 85 wells in 2021 on a gross basis. A further or extended decline in commodity prices could cause some of Antero Resources’ or third parties’ development and production projects to be uneconomic or less profitable, which could reduce gathering and water handling volumes in our current and future potential areas of operation. Those reductions in gathering and water handling volumes could reduce our revenue and cash flows and adversely affect our ability to return capital to holders of our common stock.
For the three and nine months ended September 30, 2021, our capital expenditures were approximately $81 million and $182 million, respectively, including $1 million and $2 million of capital investment in the Joint Venture, respectively.
Debt Agreements
Credit Facility
Antero Midstream Partners, as borrower (the “Borrower”), an indirect, wholly owned subsidiary of Antero Midstream Corporation, has a senior secured revolving credit facility with a consortium of banks. On October 26, 2021, we entered into an amended and restated senior secured revolving credit facility. References to the (i) “Prior Credit Facility” refers to the senior secured revolving credit facility in effect for periods before October 26, 2021, (ii) “New Credit Facility” refers to the senior secured revolving credit facility in effect on or after October 26, 2021 and (ii) “Credit Facility” refers to Prior Credit Facility and New Credit Facility collectively. The New Credit Facility provides for borrowing under either Adjusted Term Secured Overnight Financing Rate (“SOFR”) or the Base Rate (as each term is defined in the New Credit Facility).
The New Credit Facility has lender commitments of $1.25 billion and matures on October 26, 2026; provided that if on November 17, 2025 any of the 2026 Notes are outstanding, the New Credit Facility will mature on such date. As of September 30, 2021, we had $521 million of borrowings and no letters of credit outstanding under the Prior Credit Facility.
We have a choice of borrowing in SOFR Loans or at the base rate. Principal amounts borrowed are payable on the maturity date with such borrowings bearing interest that is payable (i) with respect to base rate loans, quarterly and (ii) with respect to SOFR