SAN FRANCISCO — The search is on for a new top lawyer at Hewlett-Packard Co.

The company announced Monday that General Counsel Michael Holston will leave after almost five years at HP, the latest in a string of high-profile departures at the company in recent months.