SAO PAULO/RIO DE JANEIRO (Reuters) - A consortium led by France’s Engie SA submitted the highest offer for a major gas pipeline unit owned by Brazil’s Petroleo Brasileiro SA, the state-run oil firm said on Friday, as the company’s biggest divestment draws to a close.

FILE PHOTO: A man walks in front of the Brazil's state-run Petrobras oil company headquarters in Rio de Janeiro, Brazil December 5, 2018. REUTERS/Sergio Moraes/File photo

In a filing, Petrobras, as the company is known, said the Engie consortium, which includes Canada’s Caisse de Dépôt e Placement du Québec, presented an $8.6 billion bid for 90 percent of the TAG gas pipeline unit in northern and northeastern Brazil.

That topped offers by two competing consortia, led by Itausa Investimentos Itau SA and EIG Global Energy Partners with Mubadala Investment Co, respectively.

Two sources with knowledge of the matter said the difference between the bids was very small. The second highest bid, delivered by EIG Global Energy Partners and Mubadala Investment Company, was less than 1 percent below Engie’s bid, they said.

Engie subsidiaries in different countries account for 75 percent of the winning consortium and the Canadian pension fund the other 25 percent, one of the sources added, asking for anonymity to discuss undisclosed details.

Around 60 percent of the bid was financed by Itau Unibanco Holding SA , Banco Bradesco SA and Banco do Brasil SA .

The EIG-Mubadala group was financed by JPMorgan Chase & Co and Goldman Sachs. The third group, led by Brazilian holding Itausa Investimentos Itau SA, was also financed also by local banks. Banco Santander Brasil SA was Petrobras adviser on the deal.

The price tag includes the payment by the Engie group of $800 million in debts to Brazilian state development bank BNDES. At an exchange rate of 3.85 reais to $1, Petrobras said, the deal values all of TAG at 35.1 billion reais.

The divestment represents a victory for current Petrobras leadership and Chief Executive Roberto Castello Branco, who is pushing to aggressively unload assets in a bid to cut debt and refocus on exploration and production.

The sale process began in October 2017 but was interrupted last year by a Supreme Court injunction.

In September 2016, Petrobras sold a larger gas network pipeline, Nova Transportadora do Sudeste, for $5.2 billion to Brookfield Infrastructure Partners LP, which beat out a bid by Engie.

Petrobras will continue to distribute natural gas through the TAG system under the terms of long-term contracts, the company said in the statement.

Bloomberg reported on the TAG sale earlier on Friday.