A burst pipeline in Ecuador caused an oil spill within a protected area of the country’s Amazon rainforest, the environment ministry said on Monday, adding that the pipeline operator will face legal consequences.

A rock fall following rains in the Piedra Fina zone caused a part of the OCP heavy crude pipeline to split late on Friday, causing an oil spill which affected flora and fauna in the region, authorities said.

Operator OCP Ecuador said on Saturday that it had stopped pumping crude. On Sunday, it said it had contracted three specialist companies to carry out cleaning and remediation work.

Since 2020 regressive erosion advancing along the Coca river has caused problems for both the privately-operated OCP pipeline and the state-owned SOTE pipeline.

In December both pipelines suspended pumping due to the issue, leading the government to declare force majeure over the majority of the country’s oil exports and production contracts.

The affected zone spans some 21,000 square meters (226,000 square feet), most of them within the protected zone of Cayambe Coca national park, which is inhabited by western mountain coati, a relative of raccoons; red brocket deer; bird species including the Andean cock-of-the-rock, and various amphibians, the environment ministry said.

The government has started legal and administrative actions against OCP Ecuador, the ministry said, adding it has requested the company carry out a detailed investigation to measure the spill’s impact.

Oil has been found on the Coca river’s banks, according to communities living in the area. The river was previously affected by a major oil spill in April 2020 after both the OCP and SOTE pipelines burst due to the effects of the regressive erosion.

“Once again we have been polluted and we are fighting about it with OCP,” Patricia Vargas, who heads the Panduyaku community in Ecuador’s Sucumbios province, told Reuters.

“The oil is already coating the banks of the Coca river and we call for immediate action,” she said.