Pampa Energia said it has agreed to sell stakes in the Rio Neuquen natural gas concession area to Argentina’s YPF and Brazil’s Petrobras for $144m.

Argentine energy company Pampa acquired the concession as part of an $892m deal for a 67.2% stake in Petrobras’ subsidiary in Argentina. Once the transaction closes, Pampa said it will sell 33.6% of the Rio Neuquen concession to Petrobras for $72m and the remaining 33.3% to YPF for the same amount.

Pampa also said it will pay for Petrobras Argentina with up to $220m in cash and up to $250m from the sale of its stake in Compania de Inversiones de Energia (CIESA), the parent company of natural gas pipeline operator Transportadora Gas del Sur (TGS). Pampa last month began talks with Harz Energy to sell the CIESA stake. Pampa directly owns 10% of CIESA and is also the sole trustee of CIESA Trust, which holds 40% of CIESA.

The company will get up to $700m in bank financing and $225m in private financing to pay for the Petrobras purchase. Pampa Energia said it deposited $178m, or 20% of the purchase price, into an escrow account with Citi.

As part of the deal, Brazilian Petrobras agreed to buy back the Colpa and Caranda natural gas fields in Bolivia for $20m, Pampa said.