The federal government said yesterday that it reached a $5 million settlement with Wells Fargo to resolve allegations it discriminated against pregnant women, new mothers and women on maternity leave, the Associated Press reported yesterday. The U.S. Department of Housing and Urban Development said Wells Fargo's home mortgage unit refused to make loans available to some women based on their gender or family status, and forced some women to give up their maternity leave and go back to work before it would close a loan with them. HUD said that bank employees also made discriminatory statements to and about women who were pregnant or had recently given birth. The agency said Wells Fargo will change its underwriting guidelines as part of the settlement and will show its staff how to follow the new guidelines.