Updated

Environmental authorities in Mexico have filed a lawsuit against a copper mine that spilled 10 million gallons (40,000 cubic meters) of acids into two rivers that supply water to tens of thousands of people.

The Attorney General for Environmental Protection says in a statement that it filed a lawsuit Monday against the Buena Vista del Cobre mining company, which runs the Grupo Mexico-owned mine in the northern state of Sonora.

The office says it has also ordered an inspection of all Buena Vista del Cobre's properties to verify the company is complying with environmental laws.

Authorities say the spill near the U.S. border was caused by defects in newly constructed leaching ponds, which hold the overflow of acids used to separate metal from crushed rock.