In an effort to revive the housing market, the Federal Reserve and the Treasury pledged to buy pools of U.S. home loans called mortgage-backed securities. The government also took over mortgage firms Fannie Mae and Freddie Mac. In doing this, they flooded the market with cash and allowed lenders to make home loans at cheap rates.