The Chilean government could provide more funding to Codelco to offset transfers from the state-owned copper miner to the armed forces, Finance Minister Rodrigo Valdes said.

The Ley Reservada del Cobre, or the Reserved Copper Law, stipulates that 10% of Codelco’s export sales funds Chile’s armed forces. 

“It’s not a problem in normal times, when Codelco has profits, because you can take it from the top line of the balance sheet… The distortions are almost zero,” Valdes said at an event hosted by Bloomberg in New York. “But the law becomes a problem when the mining company does not turn a profit because it has to raise debt to finance its obligation to the armed forces, he added.

President [Michelle] Bachelet decided we need to mitigate as much as possible this year and next year the effect of this law on Codelco’s debt, and that will mean we need to capitalize Codelco slightly more,” Valdes said. “The administration will decide next month how much more to give Codelco,” he said.

Codelco had $13.6bn in net financial debt at the end of June, up 11.5% from the same date in 2015. The company’s leverage ratio rose to 5.02x at end-June 2016 from 3.42x at end-June last year, according to its latest financial statement. 

Codelco has plans to invest $10.5bn through 2018 to increase production. The company has outlined $5.1bn in investments for a new level at the El Teniente mine, along with $4bn for the Chuquicamata underground project and $1.4bn for the Andina mine expansion.

The government gave Codelco a $600m capital increase in October last year as part of a plan to add $3bn in capital. Codelco raised UF10m ($397m) from local bond sales in August, the first debt issue in its home market in 11 years. The capital increase and the local bond issues raised enough money for the mining company to fulfill its investments plans for 2017.

According to a recent report from Moody’s, mining revenues accounted for 4% of GDP a few years ago but they have since fallen to almost zero. Mining income will equal 1.5% of total government revenues in 2016, down from a peak of 34.2% in 2006, Moody’s said.