BAKERSFIELD, Calif. (AP) — California prison officials say they have met a federal judge's order to transfer nearly 2,000 prisoners prone to valley fever from two Central Valley prisons in areas particularly hard-hit by the fungal infection.

A federal judge on June 24 gave prison officials 90 days to complete the transfers. A prison spokesman said Tuesday a "few dozen" inmates prone to valley fever remain at the prisons. Several declined transfers. Others just recently qualified for transfer and California Department of Corrections and Rehabilitation spokesman Jeffrey Allison said officials are working to transfer those prisoners.

Blacks, Filipinos and inmates suffering from diabetes and HIV are among those thought to be prone to valley fever and the judge ordered transferred from Avenal and Pleasant Valley prisons.

Nearly three-dozen inmate deaths and hundreds of hospitalizations at the two prisons since 2006 have been blamed on the fungus that causes valley fever.