Apple has been found not guilty of engaging in anti-competitive behaviour by a jury in California.

The long-running suit focused on Apple’s 2006 update to its iTunes software which meant only iPods could play music purchased from the store.

Consumers alleged this violated US antitrust laws, and sued for $350 million in damages.

The trial had featured emails sent by Apple founder Steve Jobs before his death in 2012.

The class action suit represented as many as 8 million iPod customers and 500 resellers, and could have cost Apple as much as $1bn, as anti-competition damage rewards are automatically tripled under US law.