A minority partner in BP’s blown-out Macondo well in the Gulf of Mexico agreed on Friday to pay $90 million in a settlement with the federal government and gulf states over the disastrous 2010 oil spill.

The Justice Department said the agreement was the largest civil penalty ever recovered under the federal Clean Water Act, which was enacted in 1972.

The partner, MOEX Offshore 2007, owned a 10 percent interest in the well, about 50 miles off the Louisiana coast.