Pampa Energía, one of the biggest energy companies in Argentina, said it acquired the 36% it didn’t already own in an Ecuadorian oil pipeline operator for $22.9 million.

The Buenos Aires-based company said the deal lifts its shareholding in Oleoducto de Crudos Pesados Ecuador (OCP) to 100%, according to a securities filing.

Pampa has been gradually increasing its share in OCP, most recently buying the 29.7% held by Spain’s Repsol at the start of this year. That built on its first investment in the company in 2021, when it acquired US-based Occidental’s 14.2% stake and then the 4% held by US-based Burlington Resources and Anglo-French firm Perenco in 2023. The remaining 36% outside Pampa’s control was held by PetroOriental OCP Holdings.

Though Pampa said OCP’s 20-year concession for operating the pipeline ends in November, in previous financial statements it said it expects the government to extend the license, given its importance in handling 30% of the country’s crude transportation.

OCP’s pipeline runs for 485 km from oil fields in the Amazon and over the Andes to a terminal on the Pacific for exporting crude.

The deal comes as Pampa prepares to sell bonds in the international market to fund a tender offer to buy back $750 million of 7.5% 2027 bonds.