Apple Inc. Chief Executive Officer Tim Cook was ordered to give a deposition in a lawsuit claiming the iPhone maker and other technology companies violated antitrust laws by entering into agreements to not recruit each other's employees.

U.S. District Judge Lucy Koh in San Jose, California, issued the order at a hearing Thursday over the objections of a lawyer representing Apple.

advertisement | advertise on newsday

The other defendants in the case include Google Inc., Intel Corp., Adobe Systems Inc., Walt Disney Co.'s Pixar animation unit, Intuit Inc. and Lucasfilm Ltd.

The lawsuit was brought on behalf of employees and mirrors claims the companies settled with the U.S. Justice Department in 2010 following a probe. The companies agreed to refrain from placing "cold calls" to lure workers from competitors, the government said at the time.