A jury has found Oculus and its executives liable for a combined $500 million in damages in a trial over improper use of technology created at Id Software parent company ZeniMax Media.

While the jury found that Oculus had not misappropriated trade secrets from ZeniMax—a major part of the case—it determined that Oculus co-founder Palmer Luckey had violated a non-disclosure agreement with the company when working on early prototypes of the Rift VR headset, according to a copy of the verdict obtained by Ars Technica. Oculus was also found liable for copyright and trademark infringement for misuse of certain ZeniMax code and logos. The company, Luckey, and Iribe were also found liable for false designation regarding misuse of certain ZeniMax trademarks.

Oculus is liable for $300 million in the verdict ($50 million for trademark infringement, $50 million for copyright infringement, and $200 million for breaking the NDA), while Luckey owes $50 million and former Oculus CEO Brendan Iribe owes $150 million (both for false designation). Oculus CTO John Carmack, who previously worked for ZeniMax and was accused of stealing code and destroying evidence, is not personally liable for any damages. ZeniMax had sought damages of $6 billion in the case.

The jury cleared Oculus parent company Facebook of alleged tortious interference with the ZeniMax NDA during its $2 billion acquisition in 2014, according to reports. Neither Oculus nor Facebook were found liable for unfair competition.

“The heart of this case was about whether Oculus stole ZeniMax’s trade secrets, and the jury found decisively in our favor," Oculus said in a statement provided to Ars. "We’re obviously disappointed by a few other aspects of today’s verdict, but we are undeterred. Oculus products are built with Oculus technology. Our commitment to the long-term success of VR remains the same, and the entire team will continue the work they’ve done since day one—developing VR technology that will transform the way people interact and communicate. We look forward to filing our appeal and eventually putting this litigation behind us.”

The verdict comes after three days of jury deliberations and roughly three weeks of testimony, including defense from Carmack, Luckey, and Facebook CEO Mark Zuckerberg. Oculus says it plans to appeal the false designation charge.

ZeniMax's case against Oculus dates back to 2014, when the company first publicly accused Oculus of illegally using code and technology that Carmack developed while at Id Software, before he joined Oculus as CTO in 2013. Carmack and Luckey had worked together under NDA to develop a 2012 E3 demo of an early Oculus Rift prototype running Doom 3.

But ZeniMax alleged Carmack's assistance went much further than that demo and that Luckey "lacked the training, expertise, resources, or know-how to create commercially viable VR technology" without Carmack's help. While the companies negotiated for ZeniMax to purchase a small ownership share of Oculus after their collaboration, those talks eventually broke down, and ZeniMax instructed Carmack to cease any and all work on VR projects.

Carmack admitted in testimony that he had copied thousands of e-mails to a personal hard drive on his last day at ZeniMax, but he maintained that he rewrote any code used on the Rift and Gear VR headsets from scratch.

ZeniMax also argued that Facebook failed to do its due diligence and ignored warning signs of misappropriated technology in its eagerness to purchase Oculus in 2014.