WASHINGTON — The federal government will pay $3.8 million to settle allegations that it withheld chlorinated fish and arsenic supplements from more than a million consumers.

The Department of Health and Human Services said in a news release Wednesday that the settlement was reached on the settlement’s terms after a two-year investigation into the agency’s handling of the sale of chlorinated products, including chlorinated salmon, bromine supplements and arsenic, among others.

The settlement includes a payment of $3,000 per customer for each year the agency withheld chlorination and arsenic from consumers, HHS said.

The agency had previously acknowledged that it delayed chlorination products from being distributed to more than 1 million people for more than six months from April 2011 through May 2016.

The USDA said it would be making a $300 million commitment to the U.S. Fish and Wildlife Service and other federal agencies to address the problems identified by the Office of Inspector General.