The Supreme Court has upheld a judgment allowing families of victims of Iranian-sponsored terrorism to collect nearly $2 billion.

The court on Wednesday ruled 6-2 in favor of relatives of the 241 Marines who died in a 1983 terrorist attack in Beirut and other attacks that courts have linked to Iran.

Justice Ruth Bader Ginsburg wrote the opinion for the court rejecting efforts by Iran's central bank to try to stave off court orders that would allow the relatives to be paid for their losses.

Iran's Bank Markazi complained that Congress was intruding into the business of federal courts when it passed a 2012 law that specifically directs that the banks' assets in the United States be turned over to the families.