The Community Reinvestment Act of 1977 is defined as a "United States federal law designed to encourage commercial banks and savings associations to help meet the needs of the borrowers in all segments of their communities, including low and moderate-income neighborhoods." This was essentially created to stop discrimination based on low-income neighborhoods.