As a result of her efforts, Congress passed the Equal Credit Opportunity Act (ECOA) on October 28,1974, making it illegal for banks to discriminate in lending based on sex or marital status.