SAN FRANCISCO — A pair of pro se litigants surrendered a patent that they allegedly snatched from law firm files, ending their splashy trial with famed litigator David Boies.

Two days into a San Jose jury trial, inventor Richard Fuisz and his son Joseph settled their suit with Boies, Schiller & Flexner client Theranos Inc., a high-profile medical testing startup. As part of the deal, the parties agreed that the Fuiszes’ patent for bodily fluid analysis will be declared invalid. The Fuiszes were accused of filing the patent application with confidential Theranos documents handed to them by a partner at McDermott, Will & Emery—an allegation the firm and the partner deny.