The agreement settles claims against BP by the U.S. federal government and the states of Louisiana, Mississippi, Alabama, Texas and Florida.

It is the largest settlement with a single entity in U.S. history, the department said.

The April 20, 2010, rig explosion and spill killed 11 workers and spewed oil for nearly three months onto the shorelines of several states.

(Reporting by Lindsay Dunsmuir; Editing by Emily Stephenson)