Cranes are an ancient type of wading bird. Their first definite fossils are in the Eocene epoch, The rails (family Rallidae) are their nearest relatives in the order Gruiformes. Most of the other groups in the Gruiformes are flightless birds. These lived in forests, and left little or no fossil record.