JACKSONVILLE, Fla. — A major chicken processing plant cited for polluting the Suwannee River has settled a lawsuit brought by environmental groups in Florida.

Pilgrim’s Pride Corp. settled the suit with Environment Florida and the Sierra Club on Wednesday, agreeing to pay $1.4 million and to take steps to eliminate the plant’s waste.

The plant, which cuts up and packages chickens for retail sale, is in Live Oak.

The settlement still requires approval from a federal judge.

Florida had cited the facility multiple times for violating limits on wastewater it could legally discharge into the river.

Under the settlement Pilgrim’s Pride will make equipment upgrades, study how to eliminate wastewater discharges into the river and create a sustainable farming fund.

The company did not immediately respond to a request for comment.