Microsoft is a co-defendant in the case through its partnership with OpenAI.

OpenAI president Greg Brockman said Elon Musk wanted the company to create a for-profit entity—and endured a public peek into his diary.

The OpenAI cofounder testified during the third week of the trial, following OpenAI president Greg Brockman and Microsoft CEO Satya Nadella.