The machine has already been lifted out of the sea at the outfall and towed ashore.

A spokesperson said, “Watercare's Army Bay Wastewater Treatment Plant project, on the Hibiscus Coast near Auckland, will create an additional 2.9km-long sea outfall. Geology consisted of the East Coast Bays Formation, essentially a weak sandstone.

“The pipeline connects the pump station with the discharge point, about 1km off the coast. This will increase the capacity of the wastewater treatment plant.

“The new discharge at Watercare’s Army Bay Wastewater Treatment Plant is scheduled to go into operation early next year and will equip the facility for future population growth.

“Special attention is being paid to environmental protection so as not to impact the surrounding recreational and fishing area. Additionally, kiwis were present in the project area. The flightless bird is New Zealand’s national symbol and is under special protection.”