A federal judge has granted Orrick, Herrington & Sutcliffe’s motion to withdraw from representing MGA Entertainment Inc., maker of the Bratz doll, in its copyright dispute with Mattel Inc.

The Wednesday order, issued by U.S. District Judge David Carter in Santa Ana, marked the second time that Orrick has fired MGA. On June 16, U.S. District Judge Shira Scheindlin of New York approved a request by MGA and Skadden, Arps, Slate, Meagher & Flom to replace Orrick in a related case. Again, Orrick had cited unpaid bills in moving to withdraw.