SAN FRANCISCO (KRON/AP) – A federal appeals court on Monday upheld the bulk of Apple’s patent lawsuit against Samsung, agreeing that the South Korean company illegally copied some of the patented features in Apple’s iPhone. But the court overturned one key ruling that could reduce the $930 million penalty awarded to Apple in the case.

The U.S. Federal Circuit Court of Appeals upheld most of the conclusions reached by a federal jury in San Jose, after a closely watched trial in 2012. Apple had complained that Samsung smartphones copied the iPhone and infringed on Apple’s technology patents.

But the appeals court, based in Washington, D.C., said Monday that Apple can’t claim damages for copying the overall appearance of the iPhone. That could reduce the damage award by about $382 million, according to Samsung’s court filings.