To address the excesses in the banking sector that precipitated in the 2007-2009 financial crisis, Obama signed into law the 2010 Dodd–Frank Wall Street Reform and Consumer Protection Act, which limited bank risk-taking and overhauled the outdated regulatory regime ineffective in monitoring the non-depository or shadow banking sector at the core of the crisis, which had outgrown the traditional depository banking sector. The Act also created the Consumer Financial Protection Bureau, but did not breakup the largest banks (which had grown even larger due to forced mergers during the crisis) nor separate investment and depository banking, as the Glass-Steagal Act had done. Only a few Republicans voted for the law.