Florida legislators have agreed to pay millions to homeowners in two counties whose healthy citrus trees were torn down in a failed attempt to eradicate citrus canker.

Republicans on Wednesday announced that as part of a secret budget deal they would set aside $37.4 million on behalf of homeowners in Broward and Lee counties.