Hamilton City Council has been ordered to pay $54,000 after "carelessly" discharging 1.7 million litres of sewage into the Waikato River.
The council was sentenced at Hamilton District Court last week for the overflow of untreated wastewater which occurred at its central city wastewater pumping station in February 2018.
The wastewater, containing human sewage, flowed into the water for 19 hours before the problem was fixed.
Hamilton City Council notified the Waikato Regional Council and human error was found to be the cause of the primary and back-up equipment, designed to operate the pumps and alarms, being turned off by mistake.
The regional council prosecuted the city council for the breach under the Resource Management Act.