construction of additional disposal capacity at our Belleville, Michigan; Robstown, Texas; and Blainville, Québec, Canada facilities, as well as equipment purchases and infrastructure upgrades at our corporate and operating facilities.
In 2018, net cash used in investing activities was $148.8 million, primarily related the acquisition of Winnie for $87.1 million, the acquisition of ES&H Dallas for $21.3 million, and capital expenditures of $40.8 million. Significant capital projects included continuing construction of additional disposal capacity and railway expansions at our Blainville, Québec, Canada location and infrastructure upgrades at our corporate and operating facilities.
Financing Activities. During 2020, net cash used in financing activities was $18.5 million, consisting primarily of $90.0 million in borrowings on our revolving credit facility, partially offset by $74.5 million in payments on our revolving credit facility and term loan, repurchases of our common stock of $18.3 million, $6.3 million in payments on our equipment financing obligations and dividend payments to our stockholders of $5.7 million. Quarterly cash dividends were suspended commencing with the second quarter of 2020 and no dividends have been paid since the first quarter 2020.
During 2019, net cash provided by financing activities was $384.4 million, consisting primarily of $448.9 million of borrowings, net of original issue discount, under the term loan used primarily to refinance the indebtedness of NRC and pay transaction expenses incurred in connection with the NRC Merger and $43.0 million of Revolving Credit Facility borrowings primarily used for the payment of NRC Merger-related expenses and to fund the purchase of US Ecology Sarnia, partially offset by $80.0 million of repayments of outstanding Revolving Credit Facility borrowings, $15.9 million of dividend payments to our stockholders and $9.4 million of deferred financing costs paid in connection with the amendment of the Credit Agreement and the issuance of the term loan.
During 2018, net cash provided by financing activities was $72.9 million, consisting primarily of $87.0 million in proceeds under the Credit Agreement to fund the acquisition of Winnie and $2.4 million in proceeds received from the exercise of stock options, partially offset by $15.8 million of dividend payments to our stockholders.
Credit Agreement
On April 18, 2017, US Ecology Holdings, Inc. (f/k/a US Ecology, Inc.) (“Predecessor US Ecology”), now a wholly-owned subsidiary of the Company, entered into a new senior secured credit agreement (as amended, restated, supplemented or otherwise modified through the date hereof, the “Credit Agreement”) with Wells Fargo Bank, National Association (“Wells Fargo”), as administrative agent for the lenders, swingline lender and issuing lender, and Bank of America, N.A., as an issuing lender, that provides for the $500.0 million, five-year Revolving Credit Facility, including a $75.0 million sublimit for the issuance of standby letters of credit and a $40.0 million sublimit for the issuance of swingline loans used to fund short-term working capital requirements. The Credit Agreement also contains an accordion feature whereby Predecessor US Ecology may request up to $200.0 million of additional funds through an increase to the Revolving Credit Facility, through incremental term loans, or some combination thereof. As described below, the Credit Agreement was amended in November 2019 in connection with the NRC Merger and further amended on June 26, 2020 pursuant to the Third Amendment (as defined below). In addition, as a result of the consummation of the NRC Merger, the borrower under the Credit Facility is Predecessor US Ecology, a wholly-owned subsidiary of the Company. In connection with Predecessor US Ecology’s entry into the Credit Agreement, Predecessor US Ecology terminated its existing credit agreement with Wells Fargo, dated June 17, 2014 (the “2014 Credit Agreement”). Immediately prior to the termination of the 2014 Credit Agreement, there were $278.3 million of term loans and no revolving loans outstanding under the 2014 Credit Agreement. No early termination penalties were incurred as a result of the termination of the 2014 Credit Agreement.
During the year ended December 31, 2020, the effective interest rate on the Revolving Credit Facility, after giving effect to the impact of our interest rate swap and the amortization of the loan discount and debt issuance costs, was 3.98%. Interest only payments are due either quarterly or on the last day of any interest period, as applicable. In March 2020, the Company entered into an interest rate swap agreement with Wells Fargo, effectively fixing the interest rate on $480.0 million, or approximately 61%, of the Revolving Credit Facility and term loan borrowings outstanding as of December 31, 2020.
Except as modified by the Third Amendment as described below, Predecessor US Ecology is required to pay a commitment fee ranging from 0.175% to 0.35% on the average daily unused portion of the Revolving Credit Facility, with such