A federal agency on Friday sued 17 financial firms, including the largest U.S. banks, for selling Fannie Mae and Freddie Mac billions of dollars worth of mortgage-backed securities that turned toxic when the housing market collapsed. Here is a list of those named in the lawsuits and the amount in securities the institutions are said to have sold to the government mortgage buyers:

JPMorgan Chase & Co., $33 billion

The Royal Bank of Scotland Group PLC, $30.4 billion

Countrywide Financial Corp. (now a unit of Bank of America), $26.6 billion

— Merrill Lynch & Co./First Franklin Financial Corp. (now a unit of Bank of America), $24.9 billion

Deutsche Bank AG, $14.2 billion

— Credit Suisse Holdings (USA) Inc., $14.1 billion

Goldman Sachs Group Inc., $11.1 billion

Morgan Stanley, $10.6 billion

HSBC North America Holdings, Inc., $6.2 billion

— Ally Financial Inc., formerly known as GMAC LLC, $6 billion

— Bank of America Corp., $6 billion

— Barclays Bank PLC, $4.9 billion

Citigroup Inc., $3.5 billion

Nomura Holding America Inc., $2 billion

— Societe Generale, $1.3 billion

First Horizon National Corporation, $883 million

General Electric Co., $549 million