MEXICO CITY (AP) — A mining conglomerate will set up a roughly $151 million trust to pay for damage caused when one of its mines spilled acid-laced copper sulfate and heavy metals into two rivers in northern Mexico, authorities said Thursday.

Economy Secretary Ildefonso Guajardo said that Grupo Mexico agreed to create the trust but that the $1 billion-a-year mining company still faces fines.

The total amount the company will have to pay to repair the damage done by the Buenavista copper mine in the border state of Sonora hasn't yet been determined, he said.

"Without going before a judge, the company has agreed to wrongdoing and created a trust of 2 billion pesos to repair the damage," Guajardo said.

Officials have said the company lied about what caused the Aug. 7 spill and the measures it supposedly took to control its effects. The company blamed heavy rains for the overflow of containment ponds, but officials have said lax supervision at the mine and construction defects appeared to have caused the accident.

People affected by the spill can file complaints to get trust money and a committee of experts and government officials will decide who gets the funds, Guajardo said.

The spill sent about 10 million gallons (40,000 cubic meters) of copper sulfate and heavy metals into the rivers and on to a reservoir behind a dam that supplies water to the capital of Sonora.

Despite the accident, the mine continues to operate. It produces about 200,000 tons of copper annually.