Peru declared an environmental emergency on Thursday after announcing that 21 beaches on the Pacific coast were contaminated by an oil spill at a refinery run by Spain-based Repsol, following surging waves caused by the eruption of an underwater volcano near Tonga.

President Pedro Castillo said a committee will be formed to propose ways of dealing with the crisis, in keeping with national policies aimed at protecting the environment.

More Images
A fisherman holds a fish he caught in waters contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Peru declared an environmental emergency on Thursday after announcing that 21 beaches on the Pacific coast were contaminated by an oil spill at a refinery run by Spain-based Repsol, following surging waves caused by the eruption of an underwater volcano near Tonga.

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Vásquez said the United Nations will provide a team of experts to help Peru deal with the oil spill. People are barred for now from going to the 21 polluted beaches because of health concerns.

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Two women in Peru drowned after being swept away by strong waves following the Tonga eruption.

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suit, clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

Workers, dressed in protective suit, clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen displays for sale his catch of the day on the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen displays for sale his catch of the day on the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A worker, dressed in protective suit, cleans Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A worker, dressed in protective suit, cleans Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen rests near the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen rests near the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

Prime Minister Mirtha Vásquez said Repsol has promised to deliver a cleaning schedule, to incorporate local fishermen in the cleanup on beaches and to deliver food baskets to affected families.

A fisherman holds a fish he caught in waters contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

A fisherman holds a fish he caught in waters contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Vásquez said the United Nations will provide a team of experts to help Peru deal with the oil spill. People are barred for now from going to the 21 polluted beaches because of health concerns.

Peruvian authorities say an Italian-flagged ship spilled 6,000 barrels in the Pacific on Saturday in front of the La Pampilla refinery. In recent days, environmental activists have collected oil-stained or dead seabirds.

Repsol said Peruvian authorities had not provided a tsunami warning and that the ship was continuing to unload oil to the refinery when the waves hit.

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Two women in Peru drowned after being swept away by strong waves following the Tonga eruption.

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean the oil contaminated Conchitas Beach, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suits, continue to clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast was caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga. (AP PhotoMartin Mejia)

Workers, dressed in protective suit, clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

Workers, dressed in protective suit, clean Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen displays for sale his catch of the day on the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen displays for sale his catch of the day on the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A worker, dressed in protective suit, cleans Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A worker, dressed in protective suit, cleans Conchitas Beach contaminated by an oil spill, in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen rests near the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)

A fishermen rests near the dock in Ancon, Peru, Thursday, Jan. 20, 2022. The oil spill on the Peruvian coast caused by the waves from an eruption of an undersea volcano in the South Pacific nation of Tonga has expanded along the coastline, reaching Ancon, a fishing and touristic port. (AP PhotoMartin Mejia)