The U.S. Justice Department and 17 states reached settlement agreements with three major egg producers this week to resolve allegations that the companies illegally colluded for years to raise prices, including when the cost soared to record highs last year.

The states and federal government accused Cal-Maine Foods, Versova and Hickman’s Egg Ranch of a behind-the-scenes arrangement to “artificially inflate the daily price quotations for eggs” between June 2022 and March 2025. In particular, their investigation found that the companies coordinated on what bids they would submit to Urner Barry Publications, a company that runs an index key to determining how much grocery stores, restaurants and others pay for billions of eggs each year.

In turn, that meant “higher prices for eggs sold to consumers,” alleged the complaint, which was filed in Iowa on Monday, the day the settlement terms were announced.

“When powerful corporations collude behind the scenes to raise prices, working families suffer the costs,” New York Attorney General Letitia James, who helped lead the investigation, said in a statement. “These egg producers manipulated the market to squeeze even more profit out of consumers and businesses.”