Companhia Siderurgica Nacional (CSN) has progressed the restructuring of BRL14.2bn ($4.42bn) in debt with creditors Banco do Brasil and Caixa Federal, the steel company said in a statement.

Through the agreement, CSN extends its outstanding debt to the two state-owned creditors to 45 months from 26 months. CSN paid down BRL100m as part of the deal.

The Brazilian steelmaker has already agreed to the main terms and commercial conditions for the restructuring with Banco do Brasil and is carrying out a similar process with Caixa Federal. The total amount being restructured equals 49% of CSN’s consolidated debt, the company said.

Following the restructuring agreement, Moody’s and S&P Global Ratings upgraded CSN to B3 from Caa2 and CCC+ from CCC, respectively.

Last week, the company hit the road for a potential bond sale. Proceeds would fund a tender offer for its 6.875% 2019 and and 6.5% 2020 bonds. It seeks up to $750m out of the $1.95bn it has in 2019s and 2020s.