(AP) — A company responsible for a major oil spill in southwestern Michigan has reached an agreement with the federal government on environmental repairs, a month after a separate deal with the state.

The government said Monday that about $4 million will cover a variety of projects, including the restoration of 175 acres of oak savanna in Fort Custer State Recreation Area and wild rice beds along the Kalamazoo River.

The Enbridge Energy spill released more than 800,000 gallons of oil from a broken pipeline in 2010. It spoiled approximately 40 miles of the Kalamazoo River and Talmadge Creek. Five years later, state regulators say any remaining oil is minimal and at the bottom of the river or in the banks.

Enbridge still faces potential fines from the U.S. Environmental Protection Agency.