The Federal Housing Finance Agency (FHFA) was established under the Housing and Economic Recovery Act of 2008.