Energy company TransCanada Corp announced Friday that it recovered 44,400 gallons, or 1,057 barrels, of oil following a spill from the Keystone pipeline in Amherst, S.D.

Roughly 210,000 gallons of oil are reported to have spilled in the region due to a leak earlier this month.

TransCanada is cleaning up oil from the spill to remove contaminants from the soil. About 170 workers are participating in clean-up activities, the company said.

The company had announced Nov. 16 that because of the leak it shut down its pipeline, which produces 590,000 barrels of oil per day. TransCanada has not yet announced when the pipeline will reopen.

The company also said it tested the water in the area.

“As a safety precaution, TransCanada sampled one residential water well yesterday at a location about 1.5 miles from the site to alleviate any concerns — all test results were normal,” TransCanada said of its efforts, according to Reuters.

Next steps include preliminary inspections of the damaged portion of the pipeline will be conducted by TransCanada and by staff from the Hazardous Materials Safety Administration. The findings will be sent to the National Transportation Safety Board’s Metallurgical Laboratory.