Facebook Inc. on Wednesday defeated an appeal by American victims of Hamas attacks in Israel, who sought to hold the company liable for providing the group a social media platform to further its terrorist goals.

The 2nd U.S. Circuit Court of Appeals in Manhattan said the Communications Decency Act (CDA), a 1996 law regulating internet content, shielded Facebook from civil liability.

It also declined to consider the plaintiffs' foreign law claims, noting that most plaintiffs, including relatives and estates of victims, said they were Americans living in Israel.