sentence: in 1977 , the us congress passed the community reinvestment act , designed to encourage commercial bank and savings associations to help meet the needs of borrowers in all segments of their communities , including low - and moderate-income neighborhoods .