SACRAMENTO, Calif. (AP) — A fund that is distributing money from a national settlement with mortgage lenders is giving 21 California organizations a total of $9.4 million to help borrowers who face the loss of their homes to foreclosure. The money comes from a settlement announced last year. California secured more than $20 billion, the largest share of any state. The distributions from the California National Mortgage Settlement Grant Program were announced Thursday. Programs that provide free legal assistance and foreclosure-intervention services will benefit. Clinics teaching homeowners about financial matters and how to avoid fraud also will receive money. Organizations receiving the grants include those primarily serving minorities, immigrants, farm workers, the disabled, elderly, veterans and rural areas. The California State Bar is working with the state attorney general's office to administer the grants.