<P> The Emergency Economic Stabilization Act of 2008 (Division A of Pub. L. 110--343, 122 Stat. 3765, enacted October 3, 2008), commonly referred to as a bailout of the U.S. financial system, is a law enacted in response to the subprime mortgage crisis authorizing the United States Secretary of the Treasury to spend up to $700 billion to purchase distressed assets, especially mortgage - backed securities, and supply cash directly to banks . The funds for purchase of distressed assets were mostly redirected to inject capital into banks and other financial institutions while the Treasury continued to examine the usefulness of targeted asset purchases . Both foreign and domestic banks are included in the program . The Act was proposed by Treasury Secretary Henry Paulson during the global financial crisis of 2008 and signed into law by President George W. Bush on October 3, 2008 . </P> <P> The legislation had its origin in early 2008, Secretary of the Treasury Henry Paulson directed two of his aides, Neel Kashkari and Phillip Swagel, to write a plan to recapitalize the U.S. financial system in case of total collapse . The plan, which was also presented to Federal Reserve Chairman Ben Bernanke, called for the U.S. government to purchase about $500 billion in distressed assets from financial institutions . </P>

Who was president when the banks were bailed out