Investing Activities. Cash used in investing activities was $9,771 and $5,925 for the six months ended June 30, 2021 and 2020, respectively. During the six months ended June 30, 2021, we paid $3,607 and $2,657 in cash at closing related to the acquisitions of Budenheim Iberica, S.L.U. and PC Australasia Pty Ltd., respectively. We also purchased property and equipment of $3,507. During the six months ended June 30, 2020, we paid $2,016 in cash at closing related to the acquisition of LaderaTech, Inc. and acquired $46 in cash as part of the transaction. We also purchased property and equipment of $3,955.
Financing Activities. Cash provided by financing activities was $1,692 for the six months ended June 30, 2021, which was primarily attributable to proceeds from the revolving credit facility of $7,500, partially offset by repayments on the revolving credit facility of $3,000 and long-term debt of $2,808. Cash used in financing activities was $2,605 for the six months ended June 30, 2020, which was primarily attributable to repayments on the revolving credit facility of $45,600 and long-term debt of $2,805, partially offset by proceeds from the revolving credit facility of $45,800.
Comparison of the Years Ended December 31, 2020 and 2019
The following table summarizes our cash activities for the years ended December 31, 2020 and 2019:
| | | | | | | | |
| | Years Ended December 31, | |
| | 2020 | | | 2019 | |
Cash provided (used in) by: | | | | | | | | |
Operating activities | | $ | 70,826 | | | $ | (305 | ) |
Investing activities | | | (9,467 | ) | | | (25,173 | ) |
Financing activities | | | (45,610 | ) | | | 21,030 | |
Effect of foreign currency on cash and cash equivalents | | | (3,093 | ) | | | (1,689 | ) |
| | | | | | | | |
Net change in cash and cash equivalents | | $ | 12,656 | | | $ | (6,137 | ) |
| | | | | | | | |
Operating Activities. Cash provided by operating activities for the year ended December 31, 2020 was $70,826. Operating cash flows for the year ended December 31, 2020 were favorably impacted by the increased net income in the current year primarily driven by higher retardant sales, partially offset by declines in working capital. Cash used in operating activities for the year ended December 31, 2019 was $305. Operating cash flows for the year ended December 31, 2019 were negatively impacted by the net loss generated due to decreased fire activity and decrease in working capital.
Investing Activities. Cash used in investing activities was $9,467 and $25,173 for the years ended December 31, 2020 and 2019, respectively. In 2020, we paid $2,016 in cash at closing related to the acquisition of LaderaTech, Inc. and acquired $46 in cash as part of the transaction. We also purchased property and equipment of $7,497. In 2019, we paid $16,814 cash at closing related to the acquisition of First Response Fire Rescue, LLC, River City Fabrication, LLC, and H&S Transport, LLC and acquired $500 in cash as part of the transaction. We also purchased property and equipment of $8,859.
Financing Activities. Cash used in financing activities for the year ended December 31, 2020 was $45,610, which was primarily attributable to repayments on the revolving credit facility of $97,100 and long-term debt of $20,610, partially offset by proceeds from revolving credit facility of $72,100. Cash provided by financing activities for the year ended December 31, 2019 was $21,030, which was primarily attributable to proceeds from the revolving credit facility of $83,300 and long-term debt of $16,000, partially offset by repayment of the revolving credit facility of $60,300 and long term debt of $5,610 as well as a distribution to shareholders of $12,360. Please read Note 1—Description of Organization and Nature of Business to our consolidated financial statements included in this prospectus for more information related to the distribution.
82