A foreign ship company that dumped garbage barrels and thousands of gallons of bilge water into the ocean off the coast of California has been ordered to pay millions in fines, U.S. officials announced Tuesday.

Zeaborn Ship Management agreed to pay $2 million in penalties after discarding oily bilge water — a mix of filthy water, lubricants, grease, cleaning fluids and other contaminants — into the ocean, according to federal prosecutors.

“Unlawful oil discharges can cause significant harm to the marine environment,” said Acting U.S. Attorney Andrew Haden for the Southern District of California. “We will continue to safeguard our oceans by vigorous enforcement of environmental laws. Today’s case is a reflection of that commitment.”

The company, based in Hamburg, Germany and Singapore, admitted to dumping more than 7,500 gallons of bilge water from its vessel – called the Star Maia- at least four times between June and October 2022, the U.S. Attorney’s Office said in a statement. The contaminated material had not been processed through required pollution prevention equipment and was falsely recorded as having been properly and safely processed, prosecutors said.

The company also admitted to burning trash in barrels on Star Maia’s deck, including paper, plastics and oily rags, and dumping the barrels into the ocean, officials said. Zeaborn did not record the burning or disposal in the vessel’s garbage record book, which is legally required.

Zeaborn pleaded guilty to two felony violations of the Act to Prevent Pollution from Ships. The company’s chief engineer, Constancio Estuye, and captain, Alexander Parreno, also pleaded guilty for their roles in the environmental crimes, according to officials.

In addition to a $1.5 million fine and $500,000 community service payment directed toward the National Fish and Wildlife Foundation, the company will serve a four-year probation term, officials said. During that time, any vessels operated by Zeaborn that call on U.S. ports will be required to implement an environmental compliance plan, prosecutors said.