In a blow to environmental groups, an appeals court overturned a circuit judge’s ruling that said state lawmakers improperly diverted money that flowed from a 2014 constitutional amendment designed to boost land and water conservation.

A three-judge panel of the First District Court of Appeal found that Leon County Circuit Judge Charles Dodson erred when he ruled that money from the amendment could only be used on land purchased after the voter-approved measure took effect.