BOSTON (AP) — Massachusetts state officials have filed suit against the company responsible for running Plymouth's wastewater treatment system over sewage spills that occurred this past winter.

The complaint, filed Wednesday in Suffolk Superior Court, accuses Veolia Water North America-Northeast and the southeast Massachusetts town of allowing more than 10 million gallons of raw sewage to contaminate both state-owned and private land in December and January.

Attorney General Maura Healey said Thursday that the case involves repeated violations that "threatened public health and our invaluable water resources."

The lawsuit also alleges that Veolia and Plymouth officials discharged a large quantity of inadequately treated wastewater that resulted in the closure of shellfish beds in Plymouth Harbor. They have since reopened.

A Veolia spokesman says the company takes environmental concerns very seriously.