A jury in Madison, Wis., rejected Apple’s argument that a patent from the University of Wisconsin’s foundation was invalid. (Bloomberg)

Apple could owe hundreds of millions in damages after a jury found its iPhones and iPads violated a patent owned by a foundation at the University of Wisconsin at Madison.

The university’s patent licensing arm had alleged that Apple used technology it owns to make the processors embedded in millions of top-selling Apple products, including the iPhone 5s, 6, 6 Plus as well as versions of the iPad.  

The jury in Madison, Wis., on Monday rejected Apple’s argument that the patent was invalid. The 1998 patent covers technology invented by University of Wisconsin researchers to make processors more efficient.

 The trial will now consider what Apple will owe in damages. U.S. District Judge William Conley has said the company could owe up to $862.4 million, according to Reuters.

Apple declined to comment Tuesday. A spokewoman for the Wisconsin Alumni Research Foundation (WARF), Jeanan Yasiri Moe, also declined to comment.

The jury’s decision could spell further trouble for Apple. The foundation filed a separate suit last month alleging the company’s latest releases – the iPhone 6S and 6S Plus and iPad Pro – also use its technology.

WARF originally sued Apple in January 2014 over whether the company’s A7, A8 and A8X processors violate the patent. WARF also used the patent to sue Intel Corp in 2008, but the case was settled in 2009 just as the trial was about to start.

The case is Wisconsin Alumni Research Foundation v. Apple Inc. in the U.S. District Court for the Western District of Wisconsin.

Moore is a freelancer. Reuters contributed to this report.