Software giant SAP has retained Weil, Gotshal & Manges partner Edward Reines to try to save the company from a $391 million patent judgment—and help thrash out the balance of power between the Federal Circuit and the U.S. Patent and Trademark Office in the wake of the America Invents Act.

Reines and Weil Gotshal are taking over as principal appellate counsel to SAP from Finnegan, Henderson, Farabow, Garrett & Dunner, according to a March 31 filing in the case, as Versata Software closes in on collecting a massive award that was affirmed by the U.S. Court of Appeals for the Federal Circuit last spring.