The company was evaluating the 1970s-built pipeline to prevent future spills, he said.

Peru’s health ministry has declared a water quality emergency in five districts and OEFA officials said Petroperu could face fines of up to $17m (£12m) if the spills were found to have affected local people’s health.

In a statement, OEFA said the spills were “not isolated cases” and ordered the company to replace parts of the pipeline and improve maintenance.

The leaks have stopped the transportation of up to 6,000 barrels of oil a day.