Updated

Imperial Sugar has agreed to pay more than $6 million in fines for safety violations at two of its U.S. plants, including the Georgia refinery where a dust explosion killed 14 workers in 2008.

Federal regulators announced the settlement Wednesday after nearly two years of wrangling with the Texas-based company as it contested penalties first proposed by the Occupational Safety and Health Administration.

OSHA had sought to fine Imperial Sugar $8.7 million.

The settlement includes more than $4 million in fines for 124 safety violations at Imperial Sugar's plant near Savannah, where the explosion was caused by sugar dust igniting like gunpowder.

The company agreed to another $2 million for 97 violations OSHA later found at its plant in Gramercy, La.