Hewlett-Packard Co. said Thursday it has dropped Wilson Sonsini Goodrich & Rosati as its outside counsel in the California attorney general’s criminal investigation of the company.

Wilson, HP says, will continue to represent the company in other matters, but in a written statement by spokesman Ryan Donovan, the company said that “Hewlett-Packard and Wilson Sonsini mutually agreed it would be in the best interests of both parties for Wilson to terminate its representation of HP in the California attorney general’s inquiry.”