A Miami judge struck a blow against a Florida law banning adoptions of children by gay people.

Miami Dade Circuit Judge Cindy Lederman ruled Tuesday there was "no rational basis" for prohibiting gays from adopting children.

The ruling will allow 47-year-old Martin Gill to adopt two young brothers he has cared for as foster children since 2004.

Florida has one of the strictest bans on gay adoptions in the country. A judge in Key West ruled in September that the ban was unconstitutional, but that ruling has had limited legal impact.

Attorneys for the state said they would appeal Lederman's ruling. The appeal will ultimately decide what happens to the state ban.