Nationwide litigation over claims that Bayer and Johnson & Johnson failed to warn about the risks of the blood thinner Xarelto has come to a global settlement of $775 million.

The litigation involved nearly 25,000 claims pending in a multidistrict litigation in federal court, as well as nearly 2,000 pending in Pennsylvania state court. Although some of the theories that were presented in the six cases that went to trial differed slightly, all of the filed cases are based on claims that Bayer and Janssen Pharmaceuticals, a subsidiary of Johnson & Johnson, failed to adequately warn that the drug could cause dangerous bleeding episodes, stroke and death.

The settlement came after numerous defense wins in both federal and state court. U.S. District Judge Eldon E. Fallon of the Eastern District of Louisiana had overseen the federal multidistrict litigation, and Pennsylvania Judge Arnold New had been supervising the mass tort program in Philadelphia.

In a statement to the press, Bayer spokesman Chris Loder said the companies will equally share the settlement amount and that Bayer’s share will be partially offset by products liability insurance.

“Bayer continues to believe these claims are without merit and there is no admission of liability under the agreement. However, this favorable settlement allows the company to avoid the distraction and significant cost of continued litigation,” Loder said.

Janssen spokeswoman Sarah Freeman said in an emailed statement, “We believe this is the right thing to do for patients and their doctors. There is no admission of liability, and we remain steadfast that the claims raised in the litigation contradict years of scientific data and the U.S. Food and Drug Administration’s safety and efficacy.”