Enbridge Energy has come to an agreement to pay a total of $177 million for two separate oil spills in the Midwest in 2010.

The settlement includes $61 million for violations of the Clean Water Act for the spill in Talmadge Creek in Marshall and the Kalamazoo River six years ago from a rupture of Enbridge's Line 6B.

The Canadian energy company has also agreed to spend roughly $110 million to improve operations and prevent future spills in the Great Lakes region alone. Enbridge has close to 2,000 miles of pipeline in the region and delivers 1.7 million barrels of oil a day.

The other oil spill came in September 2010 on Enbridge's Line 6A in Romeoville, Illinois.