The CFPB's creation was made by the Dodd–Frank Wall Street Reform and Consumer Protection Act, whose passage in 2010 was a legislative response to the financial crisis of 2007–08 and the eventual Great Recession. The CFPB was established as an independent agency, but this status is being reviewed by the U.S. Court of Appeals.