A federal judge in Manhattan ruled on Wednesday that Apple Inc. (Nasdaq:AAPL) conspired to raise the retail price of e-books in the months preceding its entering the market in 2010.

U.S. District Judge Denise Cote's decision in the nonjury trial that ended on June 20 is a victory for the U.S. government and also for various states involved in the price-fixing case, which focused on allegations that Apple and five big publishers conspired to raise prices in 2010.

The publishers in the case have already settled with the federal government on e-book pricing, but Cote said states are entitled to injunctive relief.

"Apple is liable here for facilitating and encouraging the Publisher Defendants' collective, illegal restraint of trade," Cote wrote in her opinion.

A trial for damages will follow.