The Federal Reserve took extraordinary steps to prevent a major meltdown of the global banking system after the panic-inducing September 2008 implosion of investment bank Lehman Brothers. But the extent of that aid, nearly $9 trillion in short-term loans, and the amount it stretched the Fed's legal authority, were largely unknown until Wednesday, when the central bank released the details of more than 21,000 transactions with financial firms and other companies. (Watch a CNBC report about the report.) Here's a look at some surprises revealed in the data:

The Fed lent money overseas, too: "Perhaps most surprising is the huge sum that went to bail out foreign private banks and corporations," says Sen. Bernie Sanders (I-VT), a Fed critic. Under a program called the Commercial Paper Funding Facility, Swiss bank UBS borrowed $74.5 billion — more than twice as much as the top American recipient, Citigroup. Britain's Barclays got $47.9 billion through another loan program, and France's BNP Paribas borrowed $41.6 billion. The European Central Bank and other national banks also turned to the Federal Reserve for help. 

Lots of big banks were truly desperate: Wall Street giant Goldman Sachs borrowed from an emergency overnight loan program 84 times to the tune of nearly $600 billion. Morgan Stanley used one Fed program 212 times between March 2008 and March 2009, "indicating how close Wall Street's second largest investment bank came to the brink of collapse during the crisis." Bank of America got more than 1,000 loans, and Merrill Lynch got 226 emergency overnight loans totaling $2.6 trillion.

Hedge funds and mutual funds also got help: Big institutional investors borrowed $71 billion through one Federal Reserve program called TALF. The California Public Employees Retirement System, the country's largest pension fund, got help. University endowments and even the Major League Baseball Players Pension Plan also took part.

But it was not just financial firms: To make up for the freeze in short-term loans called commercial paper that companies often use to fund payrolls, rent, and inventory stocking, the Federal Reserve opened up direct lending to non-financial businesses. General Electric, Caterpillar, Harley-Davidson, McDonald's, and Verizon all took advantage of the program.

Sources: Federal ReserveWall Street Journal (2), New York Times (2), Bloomberg (2), CNNMoney, Washington Post, AFP, BusinessWeek