The Mississippi attorney general’s office will have to find another way to pay a $14 million contingent fee to three law firms it hired to handle a massive tax case against defunct WorldCom.

The Mississippi Supreme Court ruled May 24 that the office violated state law when it paid the firms out of taxes recovered from MCI, the successor to WorldCom, in a 2005 settlement.